Only include curses headers if we are using curses at all.
This commit is contained in:
parent
1a4f5cff4e
commit
d5ea547d80
|
@ -26,11 +26,13 @@
|
|||
#endif
|
||||
|
||||
#undef ERR
|
||||
#if defined(HAVE_LIBCURSES) || defined(HAVE_LIBNCURSES)
|
||||
#ifdef HAVE_NCURSES_H
|
||||
# include <ncurses.h>
|
||||
#elif defined(HAVE_CURSES_H)
|
||||
# include <curses.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "windef.h"
|
||||
#include "wingdi.h"
|
||||
|
|
Loading…
Reference in New Issue