hppa: Define MSG_WAITFORONE.
authorCarlos O'Donell <carlos@systemhalted.org>
Wed, 31 Mar 2010 17:52:39 +0000 (13:52 -0400)
committerCarlos O'Donell <carlos@systemhalted.org>
Wed, 31 Mar 2010 17:52:39 +0000 (13:52 -0400)
Signed-off-by: Carlos O'Donell <carlos@codesourcery.com>
ChangeLog.hppa
sysdeps/unix/sysv/linux/hppa/bits/socket.h

index 9fd9f89..7dd7ce6 100644 (file)
@@ -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
index 819b398..05814a0 100644 (file)
@@ -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