summaryrefslogtreecommitdiff
path: root/devel/clanlib/files/patch-socket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/clanlib/files/patch-socket.cpp')
-rw-r--r--devel/clanlib/files/patch-socket.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/clanlib/files/patch-socket.cpp b/devel/clanlib/files/patch-socket.cpp
new file mode 100644
index 000000000000..6432f6d19b4e
--- /dev/null
+++ b/devel/clanlib/files/patch-socket.cpp
@@ -0,0 +1,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 )