Use optional package gl headers

This commit is contained in:
Alexander von Gluck IV
2012-01-08 01:42:10 -06:00
parent 77d663c3ea
commit 27fdeae9e1
5 changed files with 5 additions and 0 deletions
+1
View File
@@ -1,4 +1,5 @@
SubDir HAIKU_TOP src add-ons screen_savers flurry ; SubDir HAIKU_TOP src add-ons screen_savers flurry ;
SubDirSysHdrs $(HAIKU_MESA_HEADERS) ;
AddResources Message : Flurry.rdef ; AddResources Message : Flurry.rdef ;
@@ -34,6 +34,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <math.h> #include <math.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <GL/gl.h> #include <GL/gl.h>
#include <GL/glu.h> #include <GL/glu.h>
+1
View File
@@ -1,4 +1,5 @@
SubDir HAIKU_TOP src apps glteapot ; SubDir HAIKU_TOP src apps glteapot ;
SubDirSysHdrs $(HAIKU_MESA_HEADERS) ;
SetSubDirSupportedPlatformsBeOSCompatible ; SetSubDirSupportedPlatformsBeOSCompatible ;
+1
View File
@@ -7,6 +7,7 @@
#define UTIL_H #define UTIL_H
#include <memory.h> #include <memory.h>
#include <stdlib.h>
#include "error.h" #include "error.h"
template <class contents> template <class contents>
+1
View File
@@ -1,4 +1,5 @@
SubDir HAIKU_TOP src preferences opengl ; SubDir HAIKU_TOP src preferences opengl ;
SubDirSysHdrs $(HAIKU_MESA_HEADERS) ;
UsePrivateHeaders interface ; UsePrivateHeaders interface ;