From: Vinson Lee Date: Fri, 11 Oct 2013 01:13:25 +0000 (-0700) Subject: glapi: Do not include dlfcn.h on Windows. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=965cde9232ca6c704ac31e924c15ddf39c58082d;p=mesa.git glapi: Do not include dlfcn.h on Windows. This patch fixes this MinGW build error. CC glapi_gentable.lo glapi_gentable.c:47:19: fatal error: dlfcn.h: No such file or directory Signed-off-by: Vinson Lee Reviewed-by: Brian Paul --- diff --git a/src/mapi/glapi/gen/gl_gentable.py b/src/mapi/glapi/gen/gl_gentable.py index fa9626825ee..35dddc7a088 100644 --- a/src/mapi/glapi/gen/gl_gentable.py +++ b/src/mapi/glapi/gen/gl_gentable.py @@ -50,7 +50,9 @@ header = """/* GLXEXT is the define used in the xserver when the GLX extension i #include #endif +#ifndef _WIN32 #include +#endif #include #include