pull curses.h out of internal.h

dankamongmen/windows-tester
nick black 3 years ago
parent 10739673b2
commit cf9e5b8c8e

@ -1,4 +1,5 @@
#include "internal.h"
#include <curses.h>
#ifdef USE_DEFLATE
#include <libdeflate.h>
#endif

@ -22,7 +22,6 @@ extern "C" {
// KEY_EVENT is defined by both ncurses.h (prior to 6.3) and wincon.h. since we
// don't use either definition, kill it before inclusion of ncurses.h.
#undef KEY_EVENT
#include <ncurses.h> // needed for some definitions, see terminfo(3ncurses)
#include <term.h>
#include <time.h>
#include <term.h>

@ -1,5 +1,6 @@
#include <fcntl.h>
#include <unistd.h>
#include <curses.h>
#ifdef __linux__
#include <sys/utsname.h>
#endif

Loading…
Cancel
Save