From 965cde9232ca6c704ac31e924c15ddf39c58082d Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Thu, 10 Oct 2013 18:13:25 -0700 Subject: [PATCH] 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 --- src/mapi/glapi/gen/gl_gentable.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2