summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xdpyinfo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xdpyinfo.c b/xdpyinfo.c
index dcca0ad..2482156 100644
--- a/xdpyinfo.c
+++ b/xdpyinfo.c
@@ -78,6 +78,10 @@ in this Software without prior written authorization from The Open Group.
#endif
+#ifdef WIN32
+#include <X11/Xwindows.h>
+#endif
+
#include <X11/Xlib-xcb.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>