summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/XAppgroup.c8
-rw-r--r--src/Xcup.c8
2 files changed, 2 insertions, 14 deletions
diff --git a/src/XAppgroup.c b/src/XAppgroup.c
index 80fda97..299e20f 100644
--- a/src/XAppgroup.c
+++ b/src/XAppgroup.c
@@ -27,13 +27,7 @@ in this Software without prior written authorization from The Open Group.
/* $Xorg: XAppgroup.c,v 1.5 2001/02/09 02:03:49 xorgcvs Exp $ */
#ifdef WIN32
-#define BOOL wBOOL
-#undef Status
-#define Status wStatus
-#include <windows.h>
-#undef Status
-#define Status int
-#undef BOOL
+#include <X11/Xwindows.h>
#endif
#define NEED_EVENTS
diff --git a/src/Xcup.c b/src/Xcup.c
index b17abf6..c0ebacb 100644
--- a/src/Xcup.c
+++ b/src/Xcup.c
@@ -27,13 +27,7 @@ in this Software without prior written authorization from The Open Group.
/* $Xorg: Xcup.c,v 1.5 2001/02/09 02:03:49 xorgcvs Exp $ */
#ifdef WIN32
-#define BOOL wBOOL
-#undef Status
-#define Status wStatus
-#include <windows.h>
-#undef Status
-#define Status int
-#undef BOOL
+#include <X11/Xwindows.h>
#endif
#define NEED_EVENTS