From d53b058ec3f6208f34884ed572bb5d47de932108 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 31 May 2016 01:48:18 +0300 Subject: Fix different include issues. --- src/render/sdl2softwaregraphics.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/render/sdl2softwaregraphics.cpp') diff --git a/src/render/sdl2softwaregraphics.cpp b/src/render/sdl2softwaregraphics.cpp index 8ba667faa..125ba8847 100644 --- a/src/render/sdl2softwaregraphics.cpp +++ b/src/render/sdl2softwaregraphics.cpp @@ -43,6 +43,10 @@ #include "debug.h" +#ifndef SDL_BYTEORDER +#error missing SDL_endian.h +#endif + #if SDL_BYTEORDER == SDL_LIL_ENDIAN static unsigned int *cR = nullptr; static unsigned int *cG = nullptr; -- cgit v1.2.3-60-g2f50