diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2010-10-04 21:43:47 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2010-10-07 12:56:08 -0500 |
commit | 1652442c2f82d30d0ed4d9cfbd6d3725b09f4a29 (patch) | |
tree | 773c37ca9dd98903908a77c40313bdbf4356ac85 /get_load.c | |
parent | 600c46eaccd89417a5e44e86d18f9c733af64dc9 (diff) |
Avoid excess Win32 includes on Cygwin
Fixes compilation errors due to recent w32api <winspool.h>, which is
not needed to compile xload.
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Tested-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Diffstat (limited to 'get_load.c')
-rw-r--r-- | get_load.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -52,6 +52,7 @@ from the X Consortium. #include "xload.h" #if defined(__CYGWIN__) +#define WIN32_LEAN_AND_MEAN #include <windows.h> typedef struct { DWORD stat; |