projects
/
sdlgit/SDL_perl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Added SDLPerl.app bundle to the now fixed Darwin build system
[sdlgit/SDL_perl.git]
/
src
/
OpenGL.xs
diff --git
a/src/OpenGL.xs
b/src/OpenGL.xs
index
13b3e58
..
47f22c2
100644
(file)
--- a/
src/OpenGL.xs
+++ b/
src/OpenGL.xs
@@
-37,8
+37,14
@@
#include <SDL.h>
+#ifdef PERL_DARWIN
+#include <gl.h>
+#include <glu.h>
+#else
#include <GL/gl.h>
#include <GL/glu.h>
+#endif
+
#ifdef USE_THREADS
#define HAVE_TLS_CONTEXT