summaryrefslogtreecommitdiff
path: root/src
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 /src
parent9172cd471b4266e9ad5b5c35cadd42e223f8d1c4 (diff)
downloadplus-78f29b9ea6bc6a528790578b73565599f32f0497.tar.gz
plus-78f29b9ea6bc6a528790578b73565599f32f0497.tar.bz2
plus-78f29b9ea6bc6a528790578b73565599f32f0497.tar.xz
plus-78f29b9ea6bc6a528790578b73565599f32f0497.zip
Fix linking with some mingw versions.
Diffstat (limited to 'src')
-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)