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

This commit is contained in:
Marcus Meissner 2002-11-13 19:37:10 +00:00 committed by Alexandre Julliard
parent 1a4f5cff4e
commit d5ea547d80
1 changed files with 2 additions and 0 deletions

View File

@ -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"