summaryrefslogtreecommitdiff
path: root/src/dyetool/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dyetool/client.cpp')
-rw-r--r--src/dyetool/client.cpp7
1 files changed, 7 insertions, 0 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;