Use curses.h from libncursesw on Linux

This commit is contained in:
Arun Prakash Jana 2017-04-27 20:44:21 +05:30
parent 861224cca0
commit 4af8ba19f1
No known key found for this signature in database
GPG key ID: A75979F35C080412

4
nnn.c
View file

@ -7,7 +7,11 @@
#include <sys/resource.h> #include <sys/resource.h>
#include <ctype.h> #include <ctype.h>
#ifdef __linux__
#include <ncursesw/curses.h>
#else
#include <curses.h> #include <curses.h>
#endif
#include <dirent.h> #include <dirent.h>
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>