From 3af825d53bb0c7c75df9518e3f8fbac31cc39ff4 Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Wed, 31 Mar 2010 13:52:39 -0400 Subject: [PATCH] hppa: Define MSG_WAITFORONE. Signed-off-by: Carlos O'Donell --- ChangeLog.hppa | 5 +++++ sysdeps/unix/sysv/linux/hppa/bits/socket.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog.hppa b/ChangeLog.hppa index 9fd9f89..7dd7ce6 100644 --- a/ChangeLog.hppa +++ b/ChangeLog.hppa @@ -1,3 +1,8 @@ +2010-03-30 Carlos O'Donell + + * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Define + MSG_WAITFORONE. + 2010-02-17 Matt Turner * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Actually fix diff --git a/sysdeps/unix/sysv/linux/hppa/bits/socket.h b/sysdeps/unix/sysv/linux/hppa/bits/socket.h index 819b398..05814a0 100644 --- a/sysdeps/unix/sysv/linux/hppa/bits/socket.h +++ b/sysdeps/unix/sysv/linux/hppa/bits/socket.h @@ -233,6 +233,8 @@ enum #define MSG_NOSIGNAL MSG_NOSIGNAL MSG_MORE = 0x8000, /* Sender will send more. */ #define MSG_MORE MSG_MORE + MSG_WAITFORONE = 0x10000, /* Wait for at least one packet to return.*/ +#define MSG_WAITFORONE MSG_WAITFORONE MSG_CMSG_CLOEXEC = 0x40000000 /* Set close_on_exit for file descriptor received through -- 2.7.4