Include freeglut header via <GL/freeglut.h> rather than "../include/GL/freeglut.h"
authorNigel Stewart <nigels.com@gmail.com>
Mon, 8 Mar 2004 05:05:38 +0000 (05:05 +0000)
committerNigel Stewart <nigels.com@gmail.com>
Mon, 8 Mar 2004 05:05:38 +0000 (05:05 +0000)
This allows some additional flexibility with file layout.
It should be the responsibility of the build environment, rather than at source level.
This change tested on MSVC 6, cygwin and mingw32 gcc and Linux gcc.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@470 7f0cb862-5218-0410-a997-914c9d46530a

19 files changed:
src/freeglut_callbacks.c
src/freeglut_cursor.c
src/freeglut_display.c
src/freeglut_ext.c
src/freeglut_font.c
src/freeglut_font_data.c
src/freeglut_gamemode.c
src/freeglut_geometry.c
src/freeglut_init.c
src/freeglut_joystick.c
src/freeglut_main.c
src/freeglut_menu.c
src/freeglut_misc.c
src/freeglut_overlay.c
src/freeglut_state.c
src/freeglut_structure.c
src/freeglut_teapot.c
src/freeglut_videoresize.c
src/freeglut_window.c

index baaeee1..705c3d6 100644 (file)
@@ -29,7 +29,7 @@
 #include "config.h"
 #endif
 
-#include "../include/GL/freeglut.h"
+#include <GL/freeglut.h>
 #include "freeglut_internal.h"
 
 
index 63b9070..23839a5 100644 (file)
@@ -29,7 +29,7 @@
 #include "config.h"
 #endif
 
-#include "../include/GL/freeglut.h"
+#include <GL/freeglut.h>
 #include "freeglut_internal.h"
 
 #if TARGET_HOST_UNIX_X11
index fe0ff13..eeac0ac 100644 (file)
@@ -29,7 +29,7 @@
 #include "config.h"
 #endif
 
-#include "../include/GL/freeglut.h"
+#include <GL/freeglut.h>
 #include "freeglut_internal.h"
 
 
index 2c98d4b..79a64e4 100644 (file)
@@ -31,7 +31,7 @@
 
 #define GLX_GLXEXT_PROTOTYPES
 
-#include "../include/GL/freeglut.h"
+#include <GL/freeglut.h>
 #include "freeglut_internal.h"
 
 
index 4bdfa88..4bf8ddd 100644 (file)
@@ -29,7 +29,7 @@
 #include "config.h"
 #endif
 
-#include "../include/GL/freeglut.h"
+#include <GL/freeglut.h>
 #include "freeglut_internal.h"
 
 /*
index c18a15e..566aeba 100644 (file)
@@ -28,7 +28,7 @@
 #include "config.h"
 #endif
 
-#include "../include/GL/freeglut.h"
+#include <GL/freeglut.h>
 #include "freeglut_internal.h"
 
 /*
index f4c51f6..0344525 100644 (file)
@@ -29,7 +29,7 @@
 #include "config.h"
 #endif
 
-#include "../include/GL/freeglut.h"
+#include <GL/freeglut.h>
 #include "freeglut_internal.h"
 
 /*
index 8122a5b..b81a05f 100644 (file)
@@ -29,9 +29,7 @@
 #include "config.h"
 #endif
 
-#include "../include/GL/freeglut.h"
-
-
+#include <GL/freeglut.h>
 #include "freeglut_internal.h"
 
 /*
index 590c2bb..eea5940 100644 (file)
@@ -29,7 +29,7 @@
 #include "config.h"
 #endif
 
-#include "../include/GL/freeglut.h"
+#include <GL/freeglut.h>
 #include "freeglut_internal.h"
 
 /*
index 042563f..478e287 100644 (file)
@@ -39,7 +39,7 @@
 #    include "config.h"
 #endif
 
-#include "../include/GL/freeglut.h"
+#include <GL/freeglut.h>
 #include "freeglut_internal.h"
 
 /*
index 2882ede..722f075 100644 (file)
@@ -29,7 +29,7 @@
 #include "config.h"
 #endif
 
-#include "../include/GL/freeglut.h"
+#include <GL/freeglut.h>
 #include "freeglut_internal.h"
 
 #include <limits.h>
index 1f9a831..bdff2a5 100644 (file)
@@ -29,7 +29,7 @@
 #include "config.h"
 #endif
 
-#include "../include/GL/freeglut.h"
+#include <GL/freeglut.h>
 #include "freeglut_internal.h"
 
 /* -- DEFINITIONS ---------------------------------------------------------- */
index 2af1731..bbef626 100644 (file)
@@ -29,7 +29,7 @@
 #include "config.h"
 #endif
 
-#include "../include/GL/freeglut.h"
+#include <GL/freeglut.h>
 #include "freeglut_internal.h"
 
 /*
index 2f3a4e6..93d5aec 100644 (file)
@@ -29,7 +29,7 @@
 #include "config.h"
 #endif
 
-#include "../include/GL/freeglut.h"
+#include <GL/freeglut.h>
 #include "freeglut_internal.h"
 
 /*
index f399a8c..9dc38fb 100644 (file)
@@ -29,7 +29,7 @@
 #include "config.h"
 #endif
 
-#include "../include/GL/freeglut.h"
+#include <GL/freeglut.h>
 #include "freeglut_internal.h"
 
 /*
index 42eb578..3a9c863 100644 (file)
@@ -29,7 +29,7 @@
 #include "config.h"
 #endif
 
-#include "../include/GL/freeglut.h"
+#include <GL/freeglut.h>
 #include "freeglut_internal.h"
 
 
index 01aab4f..a6e0681 100644 (file)
@@ -76,7 +76,7 @@
 #include "config.h"
 #endif
 
-#include "../include/GL/freeglut.h"
+#include <GL/freeglut.h>
 #include "freeglut_internal.h"
 
 /* -- PRIVATE FUNCTIONS ---------------------------------------------------- */
index bdf4935..a7f449f 100644 (file)
@@ -29,7 +29,7 @@
 #include "config.h"
 #endif
 
-#include "../include/GL/freeglut.h"
+#include <GL/freeglut.h>
 #include "freeglut_internal.h"
 
 /*
index 60a72f1..6217627 100644 (file)
@@ -29,7 +29,7 @@
 #include "config.h"
 #endif
 
-#include "../include/GL/freeglut.h"
+#include <GL/freeglut.h>
 #include "freeglut_internal.h"
 
 /*