diff options
Diffstat (limited to 'net-p2p/libtorrent/files/patch-src_net_socket__fd.cc')
-rw-r--r-- | net-p2p/libtorrent/files/patch-src_net_socket__fd.cc | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/net-p2p/libtorrent/files/patch-src_net_socket__fd.cc b/net-p2p/libtorrent/files/patch-src_net_socket__fd.cc index 16544e0..0518a9c 100644 --- a/net-p2p/libtorrent/files/patch-src_net_socket__fd.cc +++ b/net-p2p/libtorrent/files/patch-src_net_socket__fd.cc @@ -1,14 +1,12 @@ ---- src/net/socket_fd.cc.orig Mon Apr 18 00:55:09 2005 -+++ src/net/socket_fd.cc Mon Apr 18 17:27:38 2005 -@@ -24,9 +24,11 @@ - - #include <errno.h> - #include <fcntl.h> -+#include <sys/types.h> +--- src/net/socket_fd.cc.orig ++++ src/net/socket_fd.cc +@@ -28,6 +28,9 @@ #include <sys/socket.h> #include <arpa/inet.h> #include <netinet/in.h> -+#include <netinet/in_systm.h> ++#ifdef __FreeBSD__ ++# include <netinet/in_systm.h> ++#endif #include <netinet/ip.h> #include "torrent/exceptions.h" |