mirror of
https://github.com/dvorka/hstr.git
synced 2024-12-25 17:02:47 +08:00
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:
parent
6609b75110
commit
96dff07b71
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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); }
|
||||
|
|
Loading…
Reference in a new issue