summaryrefslogtreecommitdiff
path: root/src/resources/imagehelper.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-31 01:48:18 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-31 01:48:18 +0300
commitd53b058ec3f6208f34884ed572bb5d47de932108 (patch)
tree980acf66aaa3b5df6b7e3e7e08dfccc0b9af8827 /src/resources/imagehelper.cpp
parent4530a341c65ac12e50075fb3e3d6166cd2e1fe3b (diff)
downloadmanaverse-d53b058ec3f6208f34884ed572bb5d47de932108.tar.gz
manaverse-d53b058ec3f6208f34884ed572bb5d47de932108.tar.bz2
manaverse-d53b058ec3f6208f34884ed572bb5d47de932108.tar.xz
manaverse-d53b058ec3f6208f34884ed572bb5d47de932108.zip
Fix different include issues.
Diffstat (limited to 'src/resources/imagehelper.cpp')
-rw-r--r--src/resources/imagehelper.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/imagehelper.cpp b/src/resources/imagehelper.cpp
index 1067058b2..737e43aaa 100644
--- a/src/resources/imagehelper.cpp
+++ b/src/resources/imagehelper.cpp
@@ -33,6 +33,10 @@
#include "debug.h"
+#ifndef SDL_BYTEORDER
+#error missing SDL_endian.h
+#endif
+
ImageHelper *imageHelper = nullptr;
ImageHelper *surfaceImageHelper = nullptr;