add GL_INCLUDE_FILE capability

This commit is contained in:
Josh Holtrop 2011-05-04 20:38:38 -04:00
parent 2ffcdfb3dc
commit 6bdaecd9f7
2 changed files with 5 additions and 1 deletions

View File

@ -8,7 +8,6 @@
#include <ctype.h> /* isspace() */
#include <string.h> /* strlen() */
#include <stdlib.h> /* atoi */
#include <GL/gl.h>
#include <vector>
#include <string>

View File

@ -2,7 +2,12 @@
#ifndef WFOBJ_H
#define WFOBJ_H
#ifdef GL_INCLUDE_FILE
#include GL_INCLUDE_FILE
#else
#include <GL/gl.h>
#endif
#include <vector>
#include <string>
#include <map>