summaryrefslogtreecommitdiff
path: root/src/unix/system.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2013-08-29 17:43:14 +0400
committerAndrey Nazarov <skuller@skuller.net>2013-09-03 13:41:10 +0400
commit3d56b51436f49a60dc28517e39769fb77a4fe2f4 (patch)
treee8096ff1358c67da593180d3f27b3a3c18e726f8 /src/unix/system.c
parentdb9f856b1557b94ed359920fa490630986ba7e9d (diff)
Add experimental SDL 2 backend.
Diffstat (limited to 'src/unix/system.c')
-rw-r--r--src/unix/system.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/unix/system.c b/src/unix/system.c
index 24642a2..7772ec5 100644
--- a/src/unix/system.c
+++ b/src/unix/system.c
@@ -38,6 +38,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <dlfcn.h>
#include <errno.h>
+#if USE_SDL
+#include <SDL_main.h>
+#endif
+
cvar_t *sys_basedir;
cvar_t *sys_libdir;
cvar_t *sys_homedir;