#include "config.h"
#endif
-#include "../include/GL/freeglut.h"
+#define GLX_GLXEXT_PROTOTYPES
+
+#include <GL/freeglut.h>
#include "freeglut_internal.h"
{ "glutGetProcAddress", (void *) glutGetProcAddress },
{ "glutMouseWheelFunc", (void *) glutMouseWheelFunc },
{ NULL, NULL }
-};
+};
void *FGAPIENTRY glutGetProcAddress( const char *procName )
/* Try GLUT functions first */
int i;
for( i = 0; glut_functions[ i ].name; i++ )
- if( strcmp( glut_functions[ i ].name, procName ) == 0)
- return glut_functions[ i ].address;
+ if( strcmp( glut_functions[ i ].name, procName ) == 0)
+ return glut_functions[ i ].address;
/* Try core GL functions */
#if TARGET_HOST_WIN32