From ac7ddb0d9557348206f3bc9bd2bf65b7d7b6409a Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Thu, 2 Oct 2008 16:06:21 +0000 Subject: 2008-10-02 Thomas Schwinge * glue-include/linux/socket.h: Revert last change. (MSG_NOSIGNAL): Guard definition and add a compile-time warning. --- pfinet/glue-include/linux/socket.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pfinet/glue-include/linux/socket.h') diff --git a/pfinet/glue-include/linux/socket.h b/pfinet/glue-include/linux/socket.h index 3f2a7971..820ed00f 100644 --- a/pfinet/glue-include/linux/socket.h +++ b/pfinet/glue-include/linux/socket.h @@ -75,6 +75,10 @@ put_cmsg(struct msghdr *msg, int level, int type, int len, void *data) { return 0; } #endif +#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 -- cgit v1.2.3