diff options
-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" |