Kusanagi Kouichi : kernel32: Include term.h conditionally.
Alexandre Julliard
julliard at winehq.org
Mon Jan 24 11:07:30 CST 2011
Module: wine
Branch: master
Commit: 8e1755aa49ff509982f5fdfbf2c011ac7fa9ca41
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8e1755aa49ff509982f5fdfbf2c011ac7fa9ca41
Author: Kusanagi Kouichi <slash at ac.auone-net.jp>
Date: Sun Jan 23 12:14:49 2011 +0900
kernel32: Include term.h conditionally.
---
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 850b792..2dce31b 100644
--- a/dlls/kernel32/term.c
+++ b/dlls/kernel32/term.c
@@ -31,7 +31,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>
More information about the wine-cvs
mailing list