summaryrefslogtreecommitdiff
path: root/hw/xwin/winmultiwindowwm.c
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-11-22 14:28:25 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-11-22 14:28:25 +0000
commitbc7493801d1f5177d9ba3fe09accc2a2d72cfe3d (patch)
tree5c297adfad0ba59be8da05e3f44882a423c3157b /hw/xwin/winmultiwindowwm.c
parent255c3c0e8ca0f402b2c327d70c8a254ba65eda03 (diff)
Fixes for building multiwindow and internalwm on mingw
Changed some debugging output
Diffstat (limited to 'hw/xwin/winmultiwindowwm.c')
-rw-r--r--hw/xwin/winmultiwindowwm.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/hw/xwin/winmultiwindowwm.c b/hw/xwin/winmultiwindowwm.c
index 608cf361c..1ac99f958 100644
--- a/hw/xwin/winmultiwindowwm.c
+++ b/hw/xwin/winmultiwindowwm.c
@@ -33,7 +33,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
+#ifdef __CYGWIN__
#include <sys/select.h>
+#endif
#include <fcntl.h>
#include <setjmp.h>
#include <pthread.h>
@@ -44,11 +46,8 @@
#include <X11/Xproto.h>
#include <X11/Xutil.h>
-/* Fixups to prevent collisions between Windows and X headers */
-#define ATOM DWORD
-
/* Windows headers */
-#include <windows.h>
+#include <Xwindows.h>
/* Local headers */
#include "obj_base.h"