aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@systemhalted.org>2010-03-31 13:52:39 -0400
committerCarlos O'Donell <carlos@systemhalted.org>2010-03-31 13:52:39 -0400
commit3af825d53bb0c7c75df9518e3f8fbac31cc39ff4 (patch)
tree80dd5919a164aedad30d225e45d0810f640bc895
parent848fa4a9c0642f6103c86aac7f3ea9786bf34c1f (diff)
downloadglibc-3af825d53bb0c7c75df9518e3f8fbac31cc39ff4.tar.xz
glibc-3af825d53bb0c7c75df9518e3f8fbac31cc39ff4.zip
hppa: Define MSG_WAITFORONE.
Signed-off-by: Carlos O'Donell <carlos@codesourcery.com>
-rw-r--r--ChangeLog.hppa5
-rw-r--r--sysdeps/unix/sysv/linux/hppa/bits/socket.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog.hppa b/ChangeLog.hppa
index 9fd9f89fb6..7dd7ce6dcb 100644
--- a/ChangeLog.hppa
+++ b/ChangeLog.hppa
@@ -1,3 +1,8 @@
+2010-03-30 Carlos O'Donell <carlos@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Define
+ MSG_WAITFORONE.
+
2010-02-17 Matt Turner <mattst88@gmail.com>
* 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 819b39820d..05814a0021 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