aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2009-11-17 20:22:36 +0000
committerJoseph Myers <joseph@codesourcery.com>2009-11-17 20:22:36 +0000
commit87d2bea064f5bf730be841986b33685ade043915 (patch)
treeaabba1723140faf1a4d1ebe6614f6a739bb4c6d0
parentb8b2e2b9d1150e734b0469eb9559713beebc0c29 (diff)
downloadglibc-87d2bea064f5bf730be841986b33685ade043915.tar.xz
glibc-87d2bea064f5bf730be841986b33685ade043915.zip
Define ERFKILL for MIPS.
-rw-r--r--ChangeLog.mips5
-rw-r--r--sysdeps/unix/sysv/linux/mips/bits/errno.h4
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog.mips b/ChangeLog.mips
index b0d633794f..0f17f52431 100644
--- a/ChangeLog.mips
+++ b/ChangeLog.mips
@@ -1,3 +1,8 @@
+2009-11-17 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/mips/bits/errno.h (ERFKILL): Define if
+ not already defined.
+
2009-11-14 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN_EX,
diff --git a/sysdeps/unix/sysv/linux/mips/bits/errno.h b/sysdeps/unix/sysv/linux/mips/bits/errno.h
index 5ff11c0e77..62b952cdac 100644
--- a/sysdeps/unix/sysv/linux/mips/bits/errno.h
+++ b/sysdeps/unix/sysv/linux/mips/bits/errno.h
@@ -38,6 +38,10 @@
# define ENOTRECOVERABLE 166
# endif
+# ifndef ERFKILL
+# define ERFKILL 167
+# endif
+
# ifndef __ASSEMBLER__
/* Function to get address of global `errno' variable. */
extern int *__errno_location (void) __THROW __attribute__ ((__const__));