GF header must be included before Photon header for QNX.
authorMike Gorchak <lestat@i.com.ua>
Tue, 28 Apr 2009 06:04:21 +0000
changeset 3114 979164e58723
parent 3113 df2bb5735822
child 3115 1102a3305928
GF header must be included before Photon header for QNX.
include/SDL_syswm.h
--- a/include/SDL_syswm.h	Tue Apr 28 04:46:05 2009 +0000
+++ b/include/SDL_syswm.h	Tue Apr 28 06:04:21 2009 +0000
@@ -171,6 +171,9 @@
 
 #elif defined(SDL_VIDEO_DRIVER_PHOTON) || defined(SDL_VIDEO_DRIVER_QNXGF)
 #include <sys/neutrino.h>
+#if defined(SDL_VIDEO_OPENGL_ES)
+#include <gf/gf.h>
+#endif /* SDL_VIDEO_OPENGL_ES */
 #include <Ph.h>
 
 /* The QNX custom event structure */