aboutsummaryrefslogtreecommitdiff
path: root/devel/clanlib-devel/files/patch-socket.cpp
blob: 6432f6d19b4e4b63fededca4eac84d063b87e7e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- Sources/Network/Socket/socket.cpp.orig	Thu Sep 11 18:42:36 2003
+++ Sources/Network/Socket/socket.cpp	Sat Sep 20 12:15:04 2003
@@ -25,6 +25,8 @@
 #else
 #include <unistd.h>
 #include <fcntl.h>
+#include <sys/types.h>
+#include <sys/socket.h>
 #include <netinet/tcp.h>
 #include <net/if.h>    // needed for struct ifreq and struct ifconf
 #include <sys/ioctl.h> // needed for ioctl ( on linux and bsd )