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
/
buildlwo.h
diff --git
a/hacks/glx/buildlwo.h
b/hacks/glx/buildlwo.h
index 89c93e342c4daf044c0b5863b79303a2970d8764..4b9008186f0b8d3a276a9e8b1adb5c78befebeea 100644
(file)
--- a/
hacks/glx/buildlwo.h
+++ b/
hacks/glx/buildlwo.h
@@
-9,14
+9,20
@@
#ifndef __BUILD_LWO_H__
#define __BUILD_LWO_H__
#ifndef __BUILD_LWO_H__
#define __BUILD_LWO_H__
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif /* HAVE_CONFIG_H */
+
#ifdef STANDALONE
#ifdef STANDALONE
-# ifdef HAVE_COCOA
-# include <OpenGL/gl.h>
-# else
+# ifndef HAVE_COCOA
# include <GL/gl.h>
# endif
#endif
# include <GL/gl.h>
# endif
#endif
+#ifdef HAVE_JWZGLES
+# include "jwzgles.h"
+#endif /* HAVE_JWZGLES */
+
struct lwo {
int num_pnts;
const GLfloat *pnts;
struct lwo {
int num_pnts;
const GLfloat *pnts;