diff options
author | Simon Howard | 2010-12-14 23:32:07 +0000 |
---|---|---|
committer | Simon Howard | 2010-12-14 23:32:07 +0000 |
commit | 7d7b5087d2288fc6e2493448968f7d786043b389 (patch) | |
tree | 6176321828ab8e37e42adf4147d8376e80e8139c | |
parent | 59d5d0d646f3d4ca1eb2370154db4b4371185e2f (diff) | |
download | chocolate-doom-7d7b5087d2288fc6e2493448968f7d786043b389.tar.gz chocolate-doom-7d7b5087d2288fc6e2493448968f7d786043b389.tar.bz2 chocolate-doom-7d7b5087d2288fc6e2493448968f7d786043b389.zip |
Add missing windows.h #include for Windows build (thanks Blondie and
exp(x)).
Subversion-branch: /branches/raven-branch
Subversion-revision: 2222
-rw-r--r-- | src/i_video.c | 5 | ||||
-rw-r--r-- | src/setup/display.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/i_video.c b/src/i_video.c index 0919bccf..243663d5 100644 --- 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" diff --git a/src/setup/display.c b/src/setup/display.c index 0def546f..fd7c0a9a 100644 --- 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" |