QTfrontend/ui/widget/about.cpp
changeset 9650 1c7c87ce37fd
parent 9337 c9d4daae1dee
child 9653 327d98e165e2
--- a/QTfrontend/ui/widget/about.cpp	Mon Oct 28 14:16:04 2013 +0100
+++ b/QTfrontend/ui/widget/about.cpp	Mon Oct 28 16:53:20 2013 +0100
@@ -28,8 +28,13 @@
 #include <QDebug>
 #include "hwconsts.h"
 #include "SDLInteraction.h"
+#if SDL_VERSION_ATLEAST(2, 0, 0)
+#include "SDL2/SDL.h"
+#include "SDL2/SDL_version.h"
+#else
 #include "SDL.h"
 #include "SDL_version.h"
+#endif
 #include "physfs.h"
 
 #ifdef VIDEOREC