summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-01-27 02:02:12 +0300
committerAndrei Karas <akaras@inbox.ru>2019-01-27 02:02:12 +0300
commit523723a4fe4ec4c74515511bc8ae92461d34e600 (patch)
tree51d7302371778629af1f2445843d8ffdd175cc56 /src
parentc22acae5dc918b661111b0b6cd14391aadfc9afb (diff)
downloadmanaplus-523723a4fe4ec4c74515511bc8ae92461d34e600.tar.gz
manaplus-523723a4fe4ec4c74515511bc8ae92461d34e600.tar.bz2
manaplus-523723a4fe4ec4c74515511bc8ae92461d34e600.tar.xz
manaplus-523723a4fe4ec4c74515511bc8ae92461d34e600.zip
Possible fix for SDL 1.2 build on fedora
Diffstat (limited to 'src')
-rw-r--r--src/render/opengl/mgltypes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/opengl/mgltypes.h b/src/render/opengl/mgltypes.h
index feb7b728f..9cc2644ca 100644
--- a/src/render/opengl/mgltypes.h
+++ b/src/render/opengl/mgltypes.h
@@ -42,10 +42,10 @@ PRAGMA48(GCC diagnostic pop)
#if defined(__APPLE__)
#include <OpenGL/glext.h>
#else // defined(__APPLE__)
-// probably this include need for some os / libs
-// #include <GL/glext.h>
#ifndef __glext_h_
-#error missing include <GL/glext.h>
+// probably this include need for some os / libs
+#include <GL/glext.h>
+// #error missing include <GL/glext.h>
#endif // __glext_h_
#endif // defined(__APPLE__)
#endif // __native_client__