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
|
#endif
|
||||||
|
|
||||||
#undef ERR
|
#undef ERR
|
||||||
|
#if defined(HAVE_LIBCURSES) || defined(HAVE_LIBNCURSES)
|
||||||
#ifdef HAVE_NCURSES_H
|
#ifdef HAVE_NCURSES_H
|
||||||
# include <ncurses.h>
|
# include <ncurses.h>
|
||||||
#elif defined(HAVE_CURSES_H)
|
#elif defined(HAVE_CURSES_H)
|
||||||
# include <curses.h>
|
# include <curses.h>
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
#include "wingdi.h"
|
#include "wingdi.h"
|
||||||
|
|
Loading…
Reference in New Issue