aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/dcd/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/dcd/files')
-rw-r--r--net-p2p/dcd/files/extra-src-net.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/net-p2p/dcd/files/extra-src-net.h b/net-p2p/dcd/files/extra-src-net.h
new file mode 100644
index 000000000000..ae45b9910aad
--- /dev/null
+++ b/net-p2p/dcd/files/extra-src-net.h
@@ -0,0 +1,15 @@
+--- src/net.h.orig Wed Aug 30 22:09:02 2006
++++ src/net.h Wed Apr 25 00:25:29 2007
+@@ -13,6 +13,12 @@
+ #if !defined( __vXhz__NET_H__INCLUDED__ )
+ #define __vXhz__NET_H__INCLUDED__
+
++// Prior 600020 where no MSG_NOSIGNAL, so we will use SO_NOSIGPIPE
++#if defined (__FreeBSD__)
++ #ifndef MSG_NOSIGNAL
++ #define MSG_NOSIGNAL SO_NOSIGPIPE
++ #endif
++#endif
+
+
+ void disttcp(userrec_t *usr, char *msg);