summaryrefslogtreecommitdiff
path: root/src/event/PollResultGeneric.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/event/PollResultGeneric.hxx')
-rw-r--r--src/event/PollResultGeneric.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/event/PollResultGeneric.hxx b/src/event/PollResultGeneric.hxx
index 6ba466512..1c4b9d7dd 100644
--- a/src/event/PollResultGeneric.hxx
+++ b/src/event/PollResultGeneric.hxx
@@ -23,6 +23,14 @@
#include <cstddef>
#include <vector>
+#ifdef _WIN32
+#include <windows.h>
+/* damn you, windows.h! */
+#ifdef GetObject
+#undef GetObject
+#endif
+#endif
+
class PollResultGeneric
{
struct Item