mirror of
https://github.com/jarun/nnn.git
synced 2024-12-01 02:49:44 +00:00
Use curses.h from libncursesw on Linux
This commit is contained in:
parent
861224cca0
commit
4af8ba19f1
4
nnn.c
4
nnn.c
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue