summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index c39582f2..3550c298 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -36,10 +36,12 @@
#include <libxml/parser.h>
+#ifdef WIN32
+#include <SDL_syswm.h>
+#endif
#ifndef WIN32
#include <cerrno>
#include <sys/stat.h>
-#include <SDL_syswm.h>
#endif
#if defined __APPLE__
#include <CoreFoundation/CFBundle.h>