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.26.tar.gz
[xscreensaver]
/
hacks
/
glx
/
flurry.h
diff --git
a/hacks/glx/flurry.h
b/hacks/glx/flurry.h
index ba9cc9219d0569c9c7aac1a204a2c7f0dc7462ce..a304ac6d834ca607407b6eee7de96b43026f8f4d 100644
(file)
--- a/
hacks/glx/flurry.h
+++ b/
hacks/glx/flurry.h
@@
-35,9
+35,20
@@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#ifndef __GLCODE__
#define __GLCODE__
#ifndef __GLCODE__
#define __GLCODE__
-#include <GL/glu.h>
-#include <GL/gl.h>
-#include <GL/glx.h>
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif /* HAVE_CONFIG_H */
+
+#ifndef HAVE_COCOA
+# include <GL/gl.h>
+# include <GL/glu.h>
+# include <GL/glx.h>
+#endif
+
+#ifdef HAVE_JWZGLES
+# include "jwzgles.h"
+#endif /* HAVE_JWZGLES */
+
#include <stdlib.h>
#include <math.h>
#include <stdlib.h>
#include <math.h>