diff --git a/hw/xwin/winclipboard.h b/hw/xwin/winclipboard.h index 0602229e3..089c2913b 100644 --- a/hw/xwin/winclipboard.h +++ b/hw/xwin/winclipboard.h @@ -48,27 +48,12 @@ /* X headers */ #include #include -/* NOTE: For some unknown reason, including Xproto.h solves - * tons of problems with including windows.h. Unknowns reasons - * are usually bad, so someone should investigate this. - */ #include #include #include -/* Fixups to prevent collisions between Windows and X headers */ -#define ATOM DWORD - -#ifndef __CYGWIN__ -#define sleep(x) Sleep (1000 * (x)) -#endif - /* Windows headers */ -#ifndef XFree86Server -#define XFree86Server -#endif -#include -#undef XFree86Server +#include /* Clipboard module constants */ diff --git a/hw/xwin/winclipboardthread.c b/hw/xwin/winclipboardthread.c index 9040f400c..8eb825fa8 100644 --- a/hw/xwin/winclipboardthread.c +++ b/hw/xwin/winclipboardthread.c @@ -39,6 +39,7 @@ #include #endif #include "X11/Xauth.h" +#include "misc.h" /*