Some of us don't have GL/gl.h installed. Configure checks for it. We should use it. The check may be wrong. Feel free to adjust. License: X11 Changelog: Guy Albertelli <<galberte@neo.lrun.com>> dlls/ddraw/dsurface/main.c - Eliminate inclusion of mesa_private.h if no OPENGL
Index: dlls/ddraw/dsurface/main.c =================================================================== RCS file: /home/wine/wine/dlls/ddraw/dsurface/main.c,v retrieving revision 1.28 diff -u -r1.28 main.c --- dlls/ddraw/dsurface/main.c 26 Sep 2002 03:20:07 -0000 1.28 +++ dlls/ddraw/dsurface/main.c 29 Sep 2002 01:45:04 -0000 @@ -24,7 +24,9 @@ #include <assert.h> #include <string.h> +#ifdef HAVE_OPENGL #include "mesa_private.h" +#endif #include "wine/debug.h" #include "ddraw_private.h" #include "dsurface/main.h"