projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://slackware.bholcomb.com/slackware/slackware-11.0/source/xap/xscreensaver/xscree...
[xscreensaver]
/
hacks
/
glx
/
glut_stroke.c
diff --git
a/hacks/glx/glut_stroke.c
b/hacks/glx/glut_stroke.c
index 9cd46e0e69ea8f0606769e5a7f753b7e6475b8cf..5ff3de5cfda27552e0be93b0db1fbd7178ce5f6f 100644
(file)
--- a/
hacks/glx/glut_stroke.c
+++ b/
hacks/glx/glut_stroke.c
@@
-8,8
+8,15
@@
#if 0 /* for Mesa */
# include "glutint.h"
#else /* for xscreensaver */
#if 0 /* for Mesa */
# include "glutint.h"
#else /* for xscreensaver */
-# include "config.h"
-# include <GL/gl.h>
+# ifdef HAVE_CONFIG_H
+# include "config.h"
+# endif
+# ifdef HAVE_COCOA
+# include <OpenGL/gl.h>
+# else
+# include <GL/gl.h>
+# endif
+# undef APIENTRY
# define APIENTRY /**/
#endif
# define APIENTRY /**/
#endif