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
/
marching.c
diff --git
a/hacks/glx/marching.c
b/hacks/glx/marching.c
index ee5e81e245eb3b00d296d7854da7eee5dbce7349..77230771c188b4ec26e170008755ced1c9d0476c 100644
(file)
--- a/
hacks/glx/marching.c
+++ b/
hacks/glx/marching.c
@@
-13,11
+13,22
@@
* http://astronomy.swin.edu.au/~pbourke/modelling/polygonise/
*/
* http://astronomy.swin.edu.au/~pbourke/modelling/polygonise/
*/
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
-#include <GL/gl.h>
+
+#ifndef HAVE_COCOA
+# include <GL/gl.h>
+#endif
+
+#ifdef HAVE_JWZGLES
+# include "jwzgles.h"
+#endif /* HAVE_JWZGLES */
+
#include "marching.h"
#include "normals.h"
#include "marching.h"
#include "normals.h"