summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2006-08-25 10:05:20 +0000
committerMatthias Melcher <fltk@matthiasm.com>2006-08-25 10:05:20 +0000
commit8cd9871d19673d3c61c74ccc0e8056ddeaec707c (patch)
treeb6b290f18e7d4433d4ab68231326c95e7e87a7e8 /test
parent6545100e740ba2fafee257f0c2347ac88b37cb2b (diff)
Added unversal header for OpenGL's GLu library.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5365 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
-rw-r--r--test/fractals.cxx6
-rw-r--r--test/fracviewer.cxx6
-rw-r--r--test/glpuzzle.cxx6
3 files changed, 3 insertions, 15 deletions
diff --git a/test/fractals.cxx b/test/fractals.cxx
index 8eea74504..efc47777e 100644
--- a/test/fractals.cxx
+++ b/test/fractals.cxx
@@ -64,11 +64,7 @@ int main(int, char**) {
*/
#include <FL/glut.H>
-#ifdef __APPLE__
-# include <OpenGL/glu.h>
-#else
-# include <GL/glu.h> // added for FLTK
-#endif
+#include <FL/glu.H>
#include <stdio.h>
#include <stdlib.h>
diff --git a/test/fracviewer.cxx b/test/fracviewer.cxx
index 3a4520608..8e9ab8771 100644
--- a/test/fracviewer.cxx
+++ b/test/fracviewer.cxx
@@ -16,11 +16,7 @@
#if HAVE_GL && HAVE_GL_GLU_H
# include <FL/glut.H>
-# ifdef __APPLE__
-# include <OpenGL/glu.h>
-# else
-# include <GL/glu.h> // added for FLTK
-# endif
+# include <FL/glu.H>
# include <stdio.h>
# include <stdlib.h>
diff --git a/test/glpuzzle.cxx b/test/glpuzzle.cxx
index fe84bccc0..fd4d56344 100644
--- a/test/glpuzzle.cxx
+++ b/test/glpuzzle.cxx
@@ -47,11 +47,7 @@ int main(int, char**) {
#include <time.h>
#include <math.h>
#include <FL/glut.H> // changed for fltk
-#ifdef __APPLE__
-# include <OpenGL/glu.h>
-#else
-# include <GL/glu.h> // added for fltk
-#endif
+#include <FL/glu.h> // added for fltk
#include "trackball.c" // changed from trackball.h for fltk
#define WIDTH 4