diff options
author | Max Kellermann <max@duempel.org> | 2011-03-18 19:44:12 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-03-18 19:44:12 +0100 |
commit | 8d83914f05cfa6d35c183ff40d5f2936a76667d4 (patch) | |
tree | 279931d17f87de0691e92b2c8517f37ca25f9b1a | |
parent | 0fdcd381bc73c34f277ff1b443de0d24e8d15a19 (diff) | |
download | mpd-8d83914f05cfa6d35c183ff40d5f2936a76667d4.tar.gz mpd-8d83914f05cfa6d35c183ff40d5f2936a76667d4.tar.xz mpd-8d83914f05cfa6d35c183ff40d5f2936a76667d4.zip |
output/httpd: include sys/socket.h only when building with libwrap
Fixes build failure on WIN32.
-rw-r--r-- | src/output/httpd_output_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/httpd_output_plugin.c b/src/output/httpd_output_plugin.c index fe9a44256..6650d89e3 100644 --- a/src/output/httpd_output_plugin.c +++ b/src/output/httpd_output_plugin.c @@ -34,9 +34,9 @@ #include <sys/types.h> #include <unistd.h> #include <errno.h> -#include <sys/socket.h> /* needed for AF_UNIX */ #ifdef HAVE_LIBWRAP +#include <sys/socket.h> /* needed for AF_UNIX */ #include <tcpd.h> #endif |