summaryrefslogtreecommitdiff
path: root/get_load.c
diff options
context:
space:
mode:
Diffstat (limited to 'get_load.c')
-rw-r--r--get_load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/get_load.c b/get_load.c
index 0f5d878..7dd5650 100644
--- a/get_load.c
+++ b/get_load.c
@@ -48,7 +48,7 @@ from the X Consortium.
#include <stdlib.h>
#include "xload.h"
-#if defined(__CYGWIN__)
+#if defined(__CYGWIN__) || defined(_WIN32)
# define WIN32_LEAN_AND_MEAN
# include <X11/Xwindows.h>
typedef struct {