kernel32: Include term.h conditionally.
Kusanagi Kouichi
slash at ac.auone-net.jp
Sat Jan 22 21:14:49 CST 2011
If (n)curses is not installed, term.h is not available.
Signed-off-by: Kusanagi Kouichi <slash at ac.auone-net.jp>
---
dlls/kernel32/term.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/kernel32/term.c b/dlls/kernel32/term.c
index a7e18ec..ecca09b 100644
--- a/dlls/kernel32/term.c
+++ b/dlls/kernel32/term.c
@@ -30,7 +30,9 @@
#undef KEY_EVENT
#undef MOUSE_MOVED
+#if defined(HAVE_CURSES_H) || defined(HAVE_NCURSES_H)
#include <term.h>
+#endif
#include <windef.h>
#include <winbase.h>
--
1.7.2.3
More information about the wine-patches
mailing list