mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-18 03:25:55 +00:00
pull curses.h out of internal.h
This commit is contained in:
parent
10739673b2
commit
cf9e5b8c8e
@ -1,4 +1,5 @@
|
|||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
#include <curses.h>
|
||||||
#ifdef USE_DEFLATE
|
#ifdef USE_DEFLATE
|
||||||
#include <libdeflate.h>
|
#include <libdeflate.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -22,7 +22,6 @@ extern "C" {
|
|||||||
// KEY_EVENT is defined by both ncurses.h (prior to 6.3) and wincon.h. since we
|
// 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.
|
// don't use either definition, kill it before inclusion of ncurses.h.
|
||||||
#undef KEY_EVENT
|
#undef KEY_EVENT
|
||||||
#include <ncurses.h> // needed for some definitions, see terminfo(3ncurses)
|
|
||||||
#include <term.h>
|
#include <term.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <term.h>
|
#include <term.h>
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <curses.h>
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
#include <sys/utsname.h>
|
#include <sys/utsname.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user