Fix build fails on linux

Before this change, errors had been thrown that `ncursesw/curses.h` is
not found etc.

This change fixes it (I've now successfully build this on my arch linux
setup)

Signed-off-by: Kipras Melnikovas <kipras@kipras.org>
This commit is contained in:
Kipras Melnikovas 2019-03-25 16:29:32 +02:00
parent 6609b75110
commit 96dff07b71
No known key found for this signature in database
GPG key ID: D667DDEC642615DD
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@
#elif defined(__FreeBSD__)
#include <ncurses.h>
#else
#include <ncursesw/curses.h>
#include <ncurses.h>
#endif
#include <readline/chardefs.h>
#include <signal.h>

View file

@ -24,7 +24,7 @@
#elif defined(__FreeBSD__)
#include <ncurses.h>
#else
#include <ncursesw/curses.h>
#include <ncurses.h>
#endif
#define color_attr_on(C) if(terminal_has_colors()) { attron(C); }