diff options
author | Max Kellermann <max@duempel.org> | 2013-01-11 11:06:16 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-11 11:06:16 +0100 |
commit | 49f3855407379e5adaac1bf3d948246c6d615f98 (patch) | |
tree | 90da9f0d8c0abd0e93c752ff2bb1c73a7b0a591d /src | |
parent | a98aa666203cad87913303d2f8b9ca07640518c3 (diff) | |
download | mpd-49f3855407379e5adaac1bf3d948246c6d615f98.tar.gz mpd-49f3855407379e5adaac1bf3d948246c6d615f98.tar.xz mpd-49f3855407379e5adaac1bf3d948246c6d615f98.zip |
configure.ac: enable WIN32_LEAN_AND_MEAN on Windows
Diffstat (limited to '')
-rw-r--r-- | src/mixer/winmm_mixer_plugin.c | 2 | ||||
-rw-r--r-- | src/output/winmm_output_plugin.c | 1 | ||||
-rw-r--r-- | src/output/winmm_output_plugin.h | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/src/mixer/winmm_mixer_plugin.c b/src/mixer/winmm_mixer_plugin.c index ceddf6afd..99da60cce 100644 --- a/src/mixer/winmm_mixer_plugin.c +++ b/src/mixer/winmm_mixer_plugin.c @@ -22,6 +22,8 @@ #include "output_api.h" #include "output/winmm_output_plugin.h" +#include <mmsystem.h> + #include <assert.h> #include <math.h> #include <windows.h> diff --git a/src/output/winmm_output_plugin.c b/src/output/winmm_output_plugin.c index 4d95834b9..c1b3af126 100644 --- a/src/output/winmm_output_plugin.c +++ b/src/output/winmm_output_plugin.c @@ -26,7 +26,6 @@ #include <stdlib.h> #include <string.h> -#include <windows.h> #undef G_LOG_DOMAIN #define G_LOG_DOMAIN "winmm_output" diff --git a/src/output/winmm_output_plugin.h b/src/output/winmm_output_plugin.h index 0605530e1..364356483 100644 --- a/src/output/winmm_output_plugin.h +++ b/src/output/winmm_output_plugin.h @@ -25,6 +25,7 @@ #ifdef ENABLE_WINMM_OUTPUT #include <windows.h> +#include <mmsystem.h> struct winmm_output; |