diff options
Diffstat (limited to 'pfinet/glue-include/linux/socket.h')
-rw-r--r-- | pfinet/glue-include/linux/socket.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pfinet/glue-include/linux/socket.h b/pfinet/glue-include/linux/socket.h index bf37f490..820ed00f 100644 --- a/pfinet/glue-include/linux/socket.h +++ b/pfinet/glue-include/linux/socket.h @@ -22,6 +22,8 @@ #define SOL_IP IPPROTO_IP #define SOL_TCP IPPROTO_TCP +#define SOL_IPV6 IPPROTO_IPV6 +#define SOL_ICMPV6 IPPROTO_ICMPV6 #define SOL_RAW IPPROTO_RAW /* IP options */ @@ -73,7 +75,10 @@ put_cmsg(struct msghdr *msg, int level, int type, int len, void *data) { return 0; } #endif -#define MSG_NOSIGNAL 0 +#ifndef MSG_NOSIGNAL +# warning "http://lists.gnu.org/archive/html/bug-hurd/2008-10/msg00007.html" +# define MSG_NOSIGNAL 0 +#endif #define MSG_ERRQUEUE 0 /* There is no SOCK_PACKET, it is a bad bad thing. This chicanery is |