aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2010-03-30 13:16:44 +0000
committerJoseph Myers <joseph@codesourcery.com>2010-03-30 13:16:44 +0000
commite9823ee1b8175d246645ec8f2b388eef5a0d2772 (patch)
tree00d1a25c1d3a4dde74240e5116302ab868687e1b
parent05479f36bb5bf5fc48964fd1e2effc79406b36ef (diff)
downloadglibc-e9823ee1b8175d246645ec8f2b388eef5a0d2772.tar.xz
glibc-e9823ee1b8175d246645ec8f2b388eef5a0d2772.zip
Define MSG_WAITFORONE for MIPS.
-rw-r--r--ChangeLog.mips5
-rw-r--r--sysdeps/unix/sysv/linux/mips/bits/socket.h4
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog.mips b/ChangeLog.mips
index 272b2f30c6..58f0a34c68 100644
--- a/ChangeLog.mips
+++ b/ChangeLog.mips
@@ -1,3 +1,8 @@
+2010-03-30 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define
+ MSG_WAITFORONE.
+
2010-03-24 Joseph Myers <joseph@codesourcery.com>
* sysdeps/mips/dl-lookup.c: Update from generic version.
diff --git a/sysdeps/unix/sysv/linux/mips/bits/socket.h b/sysdeps/unix/sysv/linux/mips/bits/socket.h
index 4899077a96..9f90216c97 100644
--- a/sysdeps/unix/sysv/linux/mips/bits/socket.h
+++ b/sysdeps/unix/sysv/linux/mips/bits/socket.h
@@ -1,6 +1,6 @@
/* System-specific socket constants and types. Linux/MIPS version.
Copyright (C) 1991, 92, 1994-1999, 2000, 2001, 2004, 2005, 2006, 2007, 2008,
- 2009 Free Software Foundation, Inc.
+ 2009, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -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