Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
@@ -52,6 +52,8 @@
#ifdef _WIN32
# include <winsock2.h>
# include <ws2tcpip.h>
+#else
+# include <sys/socket.h>
#endif
#include <bdsm/netbios_ns.h>
@@ -39,6 +39,9 @@
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
+#ifndef _WIN32
+#include <sys/socket.h>
#include "bdsm_debug.h"
#include "netbios_session.h"