diff options
author | Andrej Zverev <az@FreeBSD.org> | 2007-04-24 20:33:04 +0000 |
---|---|---|
committer | Andrej Zverev <az@FreeBSD.org> | 2007-04-24 20:33:04 +0000 |
commit | 2f1603335e1122a1aa76f5c7785896e315c891ea (patch) | |
tree | 30bb21440ff603343eb92046ea0ac4eea2373b94 /net-p2p/dcd/files | |
parent | f409d95a03957be74f4404df809f6bbbff72d56e (diff) | |
download | ports-2f1603335e1122a1aa76f5c7785896e315c891ea.tar.gz ports-2f1603335e1122a1aa76f5c7785896e315c891ea.zip |
Notes
Diffstat (limited to 'net-p2p/dcd/files')
-rw-r--r-- | net-p2p/dcd/files/extra-src-net.h | 15 |
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); |