summaryrefslogtreecommitdiff
path: root/src/net/eathena/messagein.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/messagein.cpp')
-rw-r--r--src/net/eathena/messagein.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/net/eathena/messagein.cpp b/src/net/eathena/messagein.cpp
index b32db3060..7cc1bd3a3 100644
--- a/src/net/eathena/messagein.cpp
+++ b/src/net/eathena/messagein.cpp
@@ -29,14 +29,12 @@
#include "utils/stringutils.h"
+#ifndef SDL_BIG_ENDIAN
#include <SDL_endian.h>
+#endif // SDL_BYTEORDER
#include "debug.h"
-#ifndef SDL_BYTEORDER
-#error missing SDL_endian.h
-#endif // SDL_BYTEORDER
-
namespace EAthena
{