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
1 changed files with 4 additions and 0 deletions

4
nnn.c
View File

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