summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-13 18:52:26 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-13 18:52:26 +0300
commitd3bd7f8a76211c1f7e4470a11d196a5a53a6a258 (patch)
treec85678bf694179d4e40500d18919ce60e2d081e4
parentbe2ac682181f86885cbded4c3fd6f0caa80bdde7 (diff)
downloadplus-d3bd7f8a76211c1f7e4470a11d196a5a53a6a258.tar.gz
plus-d3bd7f8a76211c1f7e4470a11d196a5a53a6a258.tar.bz2
plus-d3bd7f8a76211c1f7e4470a11d196a5a53a6a258.tar.xz
plus-d3bd7f8a76211c1f7e4470a11d196a5a53a6a258.zip
Fix compilation with Android and SDL2.
-rw-r--r--src/dirs.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dirs.cpp b/src/dirs.cpp
index 54f80a6a8..a05155cfd 100644
--- a/src/dirs.cpp
+++ b/src/dirs.cpp
@@ -40,6 +40,8 @@
#ifdef ANDROID
#ifdef USE_SDL2
+#include "main.h"
+
#include "render/graphics.h"
#endif
#endif