summaryrefslogtreecommitdiff
path: root/src/maingui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/maingui.cpp')
-rw-r--r--src/maingui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/maingui.cpp b/src/maingui.cpp
index 065c07365..528ccf3a9 100644
--- a/src/maingui.cpp
+++ b/src/maingui.cpp
@@ -22,8 +22,6 @@
#include "maingui.h"
-#include "main.h"
-
#include "client.h"
#include "commandline.h"
#include "settings.h"
@@ -43,11 +41,13 @@
#endif
#include <iostream>
-#include <unistd.h>
#include <SDL_image.h>
#include <SDL_mixer.h>
-#include <SDL_version.h>
+
+#ifndef SDL_VERSIONNUM
+#error missing <SDL_version.h>
+#endif
#define SDL_IMAGE_COMPILEDVERSION \
SDL_VERSIONNUM(SDL_IMAGE_MAJOR_VERSION, \