[374/906] sdlshare example: fix build on win32

This commit is contained in:
Julien Isorce 2009-09-01 19:46:10 +02:00 committed by Matthew Waters
parent e9a2613c66
commit 586604e2e6

View file

@ -18,14 +18,16 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef WIN32
#include <windows.h>
#endif
#include <GL/gl.h>
#include <GL/glu.h>
#include "SDL/SDL.h"
#include "SDL/SDL_opengl.h"
#ifdef WIN32
#include <windows.h>
#else
#ifndef WIN32
#include <GL/glx.h>
#include "SDL/SDL_syswm.h"
#endif