From 1652442c2f82d30d0ed4d9cfbd6d3725b09f4a29 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Mon, 4 Oct 2010 21:43:47 -0500 Subject: Avoid excess Win32 includes on Cygwin Fixes compilation errors due to recent w32api , which is not needed to compile xload. Signed-off-by: Yaakov Selkowitz Reviewed-by: Jon TURNEY Tested-by: Jon TURNEY --- get_load.c | 1 + 1 file changed, 1 insertion(+) (limited to 'get_load.c') diff --git a/get_load.c b/get_load.c index 1439090..551a7a8 100644 --- a/get_load.c +++ b/get_load.c @@ -52,6 +52,7 @@ from the X Consortium. #include "xload.h" #if defined(__CYGWIN__) +#define WIN32_LEAN_AND_MEAN #include typedef struct { DWORD stat; -- cgit v1.2.3