summaryrefslogtreecommitdiff
path: root/src/resources/sdl2softwarescreenshothelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/sdl2softwarescreenshothelper.cpp')
-rw-r--r--src/resources/sdl2softwarescreenshothelper.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/sdl2softwarescreenshothelper.cpp b/src/resources/sdl2softwarescreenshothelper.cpp
index 45e784385..9b76c9472 100644
--- a/src/resources/sdl2softwarescreenshothelper.cpp
+++ b/src/resources/sdl2softwarescreenshothelper.cpp
@@ -33,6 +33,10 @@
#include "debug.h"
+#ifndef SDL_BYTEORDER
+#error missing SDL_endian.h
+#endif
+
Sdl2SoftwareScreenshotHelper::Sdl2SoftwareScreenshotHelper() :
ScreenshotHelper()
{