aboutsummaryrefslogtreecommitdiffstats
path: root/src/GlobalEvents.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-04-17 23:52:54 +0200
committerMax Kellermann <max@duempel.org>2013-04-17 23:52:57 +0200
commit08dfd263ba496b0c1f6ddbe9b3eefa9a5cea57a4 (patch)
tree0a3ef9019626178baaefca5a8d5a8bfd94c1e761 /src/GlobalEvents.hxx
parentabaabe92d6485043fd1a5705818b3d4c74a4b08f (diff)
downloadmpd-08dfd263ba496b0c1f6ddbe9b3eefa9a5cea57a4.tar.gz
mpd-08dfd263ba496b0c1f6ddbe9b3eefa9a5cea57a4.tar.xz
mpd-08dfd263ba496b0c1f6ddbe9b3eefa9a5cea57a4.zip
GlobalEvents: include windows.h for DELETE macro workaround
Diffstat (limited to 'src/GlobalEvents.hxx')
-rw-r--r--src/GlobalEvents.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/GlobalEvents.hxx b/src/GlobalEvents.hxx
index 2e549305b..fac116935 100644
--- a/src/GlobalEvents.hxx
+++ b/src/GlobalEvents.hxx
@@ -21,6 +21,7 @@
#define MPD_GLOBAL_EVENTS_HXX
#ifdef WIN32
+#include <windows.h>
/* DELETE is a WIN32 macro that poisons our namespace; this is a
kludge to allow us to use it anyway */
#ifdef DELETE