mirror of
https://github.com/dvorka/hstr.git
synced 2024-12-26 01:15:26 +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__)
|
#elif defined(__FreeBSD__)
|
||||||
#include <ncurses.h>
|
#include <ncurses.h>
|
||||||
#else
|
#else
|
||||||
#include <ncursesw/curses.h>
|
#include <ncurses.h>
|
||||||
#endif
|
#endif
|
||||||
#include <readline/chardefs.h>
|
#include <readline/chardefs.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#elif defined(__FreeBSD__)
|
#elif defined(__FreeBSD__)
|
||||||
#include <ncurses.h>
|
#include <ncurses.h>
|
||||||
#else
|
#else
|
||||||
#include <ncursesw/curses.h>
|
#include <ncurses.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define color_attr_on(C) if(terminal_has_colors()) { attron(C); }
|
#define color_attr_on(C) if(terminal_has_colors()) { attron(C); }
|
||||||
|
|
Loading…
Reference in a new issue