Commit d5ea547d authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Only include curses headers if we are using curses at all.

parent 1a4f5cff
...@@ -26,11 +26,13 @@ ...@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment