From 8eb49e8ae8161f7736697196bc26372f4f4d1f82 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 30 Mar 2010 07:50:27 -0700 Subject: [PATCH] alpha: Define MSG_WAITFORONE. Signed-off-by: Richard Henderson --- ChangeLog.alpha | 4 ++++ sysdeps/unix/sysv/linux/alpha/bits/socket.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog.alpha b/ChangeLog.alpha index c1be819..80c57d3 100644 --- a/ChangeLog.alpha +++ b/ChangeLog.alpha @@ -1,3 +1,7 @@ +2010-03-30 Richard Henderson + + * sysdeps/unix/sysv/linux/alpha/bits/socket.h (MSG_WAITFORONE): New. + 2010-03-30 Matt Turner * sysdeps/unix/sysv/linux/alpha/kernel-features.h: New. diff --git a/sysdeps/unix/sysv/linux/alpha/bits/socket.h b/sysdeps/unix/sysv/linux/alpha/bits/socket.h index dedf8bc..a39629c 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/socket.h +++ b/sysdeps/unix/sysv/linux/alpha/bits/socket.h @@ -232,6 +232,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