summaryrefslogtreecommitdiff
path: root/src/unix/system.c
diff options
context:
space:
mode:
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;