diff --git a/ChangeLog.mips b/ChangeLog.mips index 172d48da7f..41239d71ff 100644 --- a/ChangeLog.mips +++ b/ChangeLog.mips @@ -1,3 +1,8 @@ +2012-02-20 Andreas Schwab + + * sysdeps/unix/sysv/linux/mips/bits/errno.h (EHWPOISON): Define if + not defined. + 2012-02-17 Aurelien Jarno * sysdeps/mips/dl-procinfo.h(_DL_PLATFORMS_COUNT): define to 4, diff --git a/sysdeps/unix/sysv/linux/mips/bits/errno.h b/sysdeps/unix/sysv/linux/mips/bits/errno.h index 62b952cdac..1cf339f0b6 100644 --- a/sysdeps/unix/sysv/linux/mips/bits/errno.h +++ b/sysdeps/unix/sysv/linux/mips/bits/errno.h @@ -1,5 +1,5 @@ /* Error constants. MIPS/Linux specific version. - Copyright (C) 1996, 1997, 1998, 1999, 2000, 2006 + Copyright (C) 1996, 1997, 1998, 1999, 2000, 2006, 2012 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -42,6 +42,10 @@ # define ERFKILL 167 # endif +# ifndef EHWPOISON +# define EHWPOISON 168 +# endif + # ifndef __ASSEMBLER__ /* Function to get address of global `errno' variable. */ extern int *__errno_location (void) __THROW __attribute__ ((__const__));