ref: 7d7b5087d2288fc6e2493448968f7d786043b389
parent: 59d5d0d646f3d4ca1eb2370154db4b4371185e2f
author: Simon Howard <[email protected]>
date: Tue Dec 14 18:32:07 EST 2010
Add missing windows.h #include for Windows build (thanks Blondie and exp(x)). Subversion-branch: /branches/raven-branch Subversion-revision: 2222
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -31,6 +31,11 @@
#include <math.h>
#include <string.h>
+#ifdef _WIN32
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+#endif
+
#include "icon.c"
#include "config.h"
--- a/src/setup/display.c
+++ b/src/setup/display.c
@@ -26,6 +26,11 @@
#include "libc_wince.h"
#endif
+#ifdef _WIN32
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+#endif
+
#include "textscreen.h"
#include "m_config.h"
#include "mode.h"