Applied Thomas Bastiani's patch fixing the behaviour of freeglut under X11 when
[freeglut] / src / x11 / fg_structure_x11.c
index e1d5eb4..3e22350 100644 (file)
  */
 
 #include <GL/freeglut.h>
-#include "../fg_internal.h"
+#include "fg_internal.h"
+#ifdef EGL_VERSION_1_0
+#include "egl/fg_structure_egl.h"
+#endif
 
 extern SFG_Structure fgStructure;