diff options
author | Max Kellermann <max@duempel.org> | 2011-07-20 21:18:55 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-07-20 21:18:55 +0200 |
commit | 9242fde6b830bc9ad6978bc26ffd1f57c31ddeea (patch) | |
tree | d9b17c1a5d34058259994d4127ce2759f56ea165 /src/output/raop_output_plugin.h | |
parent | d1f653be65fa29cbce75db0551bce9f3598fe88c (diff) | |
download | mpd-9242fde6b830bc9ad6978bc26ffd1f57c31ddeea.tar.gz mpd-9242fde6b830bc9ad6978bc26ffd1f57c31ddeea.tar.xz mpd-9242fde6b830bc9ad6978bc26ffd1f57c31ddeea.zip |
output/raop: include winsock.h on WIN32
Diffstat (limited to 'src/output/raop_output_plugin.h')
-rw-r--r-- | src/output/raop_output_plugin.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/output/raop_output_plugin.h b/src/output/raop_output_plugin.h index b21a9691f..2995414de 100644 --- a/src/output/raop_output_plugin.h +++ b/src/output/raop_output_plugin.h @@ -22,10 +22,17 @@ #include <glib.h> #include <stdbool.h> -#include <netinet/in.h> #include <sys/time.h> #include <openssl/aes.h> +#ifdef WIN32 +#define WINVER 0x0501 +#include <ws2tcpip.h> +#include <winsock.h> +#else +#include <netinet/in.h> +#endif + struct key_data { unsigned char *key; unsigned char *data; |