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