summaryrefslogtreecommitdiff
path: root/src/dyetool
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-13 18:40:11 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-13 18:40:11 +0300
commit55b1de961489f99723288e162f9d3a062d593368 (patch)
tree8e0420837f222828070fd7df010ede11c2ec90ed /src/dyetool
parentbcbcdde49b5ff85c5ff4b8356dad475698d28f4e (diff)
downloadmv-55b1de961489f99723288e162f9d3a062d593368.tar.gz
mv-55b1de961489f99723288e162f9d3a062d593368.tar.bz2
mv-55b1de961489f99723288e162f9d3a062d593368.tar.xz
mv-55b1de961489f99723288e162f9d3a062d593368.zip
Fix includes and update deheader ci script.
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;