summaryrefslogtreecommitdiff
path: root/src/dyetool
diff options
context:
space:
mode:
Diffstat (limited to 'src/dyetool')
-rw-r--r--src/dyetool/client.cpp7
-rw-r--r--src/dyetool/client.h6
2 files changed, 7 insertions, 6 deletions
diff --git a/src/dyetool/client.cpp b/src/dyetool/client.cpp
index c9effa88c..b87f34aaa 100644
--- a/src/dyetool/client.cpp
+++ b/src/dyetool/client.cpp
@@ -26,6 +26,7 @@
#include "dirs.h"
#include "eventsmanager.h"
#include "graphicsmanager.h"
+#include "main.h"
#include "settings.h"
#include "soundmanager.h"
@@ -84,6 +85,12 @@
#endif
#endif
+#ifdef USE_SDL2
+#include <SDL2_framerate.h>
+#else
+#include <SDL_framerate.h>
+#endif
+
#include "debug.h"
std::string errorMessage;
diff --git a/src/dyetool/client.h b/src/dyetool/client.h
index 4a79a303e..39afce267 100644
--- a/src/dyetool/client.h
+++ b/src/dyetool/client.h
@@ -27,12 +27,6 @@
#include "listeners/actionlistener.h"
-#ifdef USE_SDL2
-#include <SDL2_framerate.h>
-#else
-#include <SDL_framerate.h>
-#endif
-
#include "localconsts.h"
class Button;