aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/ClientMessage.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/ClientMessage.hxx b/src/client/ClientMessage.hxx
index 3d28e01dc..bc6a4cd41 100644
--- a/src/client/ClientMessage.hxx
+++ b/src/client/ClientMessage.hxx
@@ -24,6 +24,12 @@
#include <string>
+#ifdef WIN32
+/* fuck WIN32! */
+#include <windows.h>
+#undef GetMessage
+#endif
+
/**
* A client-to-client message.
*/