w32api/rpcnndr.h (included by windows.h) uses TypeString as the name of a structure member.
xkbcomp.h defines it as a macro for a constant. Define WIN32_LEAN_AND_MEAN to avoid this clash. Signed-off-by: Jon TURNEY <jon.tur...@dronecode.org.uk> --- listing.c | 1 + 1 file changed, 1 insertion(+) diff --git a/listing.c b/listing.c index 945f7f6..322cbf2 100644 --- a/listing.c +++ b/listing.c @@ -108,6 +108,7 @@ SOFTWARE. #endif #ifdef WIN32 +# define WIN32_LEAN_AND_MEAN # include <X11/Xwindows.h> # define FileName(file) file.cFileName # undef TEXT -- 2.3.2 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel