diff options
author | zhang <[email protected]> | 2007-06-28 08:12:52 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-06-28 08:12:52 -0600 |
commit | 37aca21129d87946d2dc6b45fa5bacd514921550 (patch) | |
tree | 1fcd114a8bf8aa783dd2c700eb1065828a63f309 /src/mesa/drivers/windows/gdi/wgl.c | |
parent | b0b02507b42ca43a7c9d9e9a10c2f49fc6f8d8ba (diff) |
a variety of fixes for MingW
Diffstat (limited to 'src/mesa/drivers/windows/gdi/wgl.c')
-rw-r--r-- | src/mesa/drivers/windows/gdi/wgl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/windows/gdi/wgl.c b/src/mesa/drivers/windows/gdi/wgl.c index 197de0743c7..49b4ddbd1f9 100644 --- a/src/mesa/drivers/windows/gdi/wgl.c +++ b/src/mesa/drivers/windows/gdi/wgl.c @@ -32,8 +32,14 @@ /* We're essentially building part of GDI here, so define this so that * we get the right export linkage. */ +#ifdef __MINGW32__ +#include <GL/gl.h> +#include <stdlib.h> +#else #define _GDI32_ +#endif #include <windows.h> + #include "glapi.h" #include "GL/wmesa.h" /* protos for wmesa* functions */ |