summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/peopsxgl/externals.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/peopsxgl/externals.h b/plugins/peopsxgl/externals.h
index 074442aa..569be698 100644
--- a/plugins/peopsxgl/externals.h
+++ b/plugins/peopsxgl/externals.h
@@ -20,6 +20,12 @@
// if you use it, you must include it.
#include <OpenGL/gl.h>
#include <OpenGL/glext.h>
+#ifndef GL_COLOR_INDEX8_EXT
+#define GL_COLOR_INDEX8_EXT 0x80E5
+#endif
+#ifndef glColorTableEXT
+#define glColorTableEXT glColorTable
+#endif
#endif
#define MIRROR_TEST 1