diff options
Diffstat (limited to 'libmpdemux/network.h')
-rw-r--r-- | libmpdemux/network.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libmpdemux/network.h b/libmpdemux/network.h index e83b15c0ab..9bf614e0c0 100644 --- a/libmpdemux/network.h +++ b/libmpdemux/network.h @@ -8,12 +8,16 @@ #define __NETWORK_H #include <fcntl.h> -#include <netdb.h> -#include <netinet/in.h> #include <sys/time.h> #include <sys/types.h> + +#include "config.h" +#ifndef HAVE_WINSOCK2 +#include <netdb.h> +#include <netinet/in.h> #include <sys/socket.h> #include <arpa/inet.h> +#endif #include "url.h" #include "http.h" |