summaryrefslogtreecommitdiff
path: root/devel/clanlib-devel/files/patch-socket.cpp
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-09-24 13:01:39 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-09-24 13:01:39 +0000
commit35b087134277cfee80970705036d9ac94fa5dbd2 (patch)
tree24c5b98bf7035cdc1e8cc3f76e87ab0394af367b /devel/clanlib-devel/files/patch-socket.cpp
parentUpdate to version 0.09. (diff)
- Update to version 0.7.4-1
PR: 57092 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'devel/clanlib-devel/files/patch-socket.cpp')
-rw-r--r--devel/clanlib-devel/files/patch-socket.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/clanlib-devel/files/patch-socket.cpp b/devel/clanlib-devel/files/patch-socket.cpp
new file mode 100644
index 000000000000..6432f6d19b4e
--- /dev/null
+++ b/devel/clanlib-devel/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 )