summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-06 05:15:15 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-06 05:15:15 +0300
commit78f29b9ea6bc6a528790578b73565599f32f0497 (patch)
treebab048e3555f5232bf23f66dd76bf1f8fc0270bb
parent9172cd471b4266e9ad5b5c35cadd42e223f8d1c4 (diff)
downloadmv-78f29b9ea6bc6a528790578b73565599f32f0497.tar.gz
mv-78f29b9ea6bc6a528790578b73565599f32f0497.tar.bz2
mv-78f29b9ea6bc6a528790578b73565599f32f0497.tar.xz
mv-78f29b9ea6bc6a528790578b73565599f32f0497.zip
Fix linking with some mingw versions.
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 936e63c15..39ebecd35 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -22,6 +22,10 @@
#include "maingui.h"
+#ifdef WIN32
+#include "SDL.h"
+#endif // WIN32
+
#include "debug.h"
#if !defined(UNITTESTS) && !defined(ANDROID)