diff --git a/hw/xwin/winclipboard.h b/hw/xwin/winclipboard.h index 089c2913b..6b5249fd1 100644 --- a/hw/xwin/winclipboard.h +++ b/hw/xwin/winclipboard.h @@ -39,7 +39,6 @@ #include #else #include -#define HAS_WINSOCK #endif #include #include diff --git a/hw/xwin/winclipboardthread.c b/hw/xwin/winclipboardthread.c index e7df4527e..908dfcea2 100644 --- a/hw/xwin/winclipboardthread.c +++ b/hw/xwin/winclipboardthread.c @@ -32,6 +32,8 @@ #ifdef HAVE_XWIN_CONFIG_H #include +#else +#define HAS_WINSOCK 1 #endif #include #include "winclipboard.h"