projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.16.tar.gz
[xscreensaver]
/
hacks
/
glx
/
glut_stroke.c
diff --git
a/hacks/glx/glut_stroke.c
b/hacks/glx/glut_stroke.c
index b7a783d1a705fe53f9b46e9ce80b63c8214e9e4a..455e3db0dd4da49a4957f646fd3fc34b67d66149 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
+# ifndef HAVE_COCOA
+# include <GL/gl.h>
+# endif
+# ifdef HAVE_JWZGLES
+# include "jwzgles.h"
+# endif /* HAVE_JWZGLES */
# undef APIENTRY
# define APIENTRY /**/
#endif
# undef APIENTRY
# define APIENTRY /**/
#endif