#define _XGL_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
+#ifdef HAVE_WINDOWS_H
+# include <windows.h>
+#endif
#include <GL/gl.h>
#include <GL/glu.h>
#include <stdio.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
/* xgl Utilities */
extern FILE *xglTraceFd ;
#else
-#ifdef __cplusplus
-extern "C" {
-#endif
-
GLboolean xglIsEnabled ( GLenum cap ) ;
GLboolean xglIsList ( GLuint list ) ;
GLenum xglGetError () ;
void xglGenTexturesEXT ( GLsizei n, GLuint *textures ) ;
void xglPrioritizeTexturesEXT ( GLsizei n, GLuint *textures, GLclampf *priorities ) ;
-#ifdef __cplusplus
-};
-#endif
-
#endif