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 3114979164e58723
parent 3113 df2bb5735822
child 3115 1102a3305928
GF header must be included before Photon header for QNX.
include/SDL_syswm.h
     1.1 --- a/include/SDL_syswm.h	Tue Apr 28 04:46:05 2009 +0000
     1.2 +++ b/include/SDL_syswm.h	Tue Apr 28 06:04:21 2009 +0000
     1.3 @@ -171,6 +171,9 @@
     1.4  
     1.5  #elif defined(SDL_VIDEO_DRIVER_PHOTON) || defined(SDL_VIDEO_DRIVER_QNXGF)
     1.6  #include <sys/neutrino.h>
     1.7 +#if defined(SDL_VIDEO_OPENGL_ES)
     1.8 +#include <gf/gf.h>
     1.9 +#endif /* SDL_VIDEO_OPENGL_ES */
    1.10  #include <Ph.h>
    1.11  
    1.12  /* The QNX custom event structure */