aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xorg-server/Xext/saver.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xorg-server/Xext/saver.c b/xorg-server/Xext/saver.c
index ba565027f..e3da1c44e 100644
--- a/xorg-server/Xext/saver.c
+++ b/xorg-server/Xext/saver.c
@@ -35,6 +35,10 @@ in this Software without prior written authorization from the X Consortium.
#define SCREENSAVER
#endif
+#ifdef CreateWindow
+#undef CreateWindow
+#endif
+
#include <X11/X.h>
#include <X11/Xproto.h>
#include "misc.h"