diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index cfb3479b4fb..08425e98ee2 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,7 @@ +2014-11-21 Steve Ellcey + + * config/linux/mips/futex.h (SYS_futex): Define if not already done. + 2014-11-21 H.J. Lu PR bootstrap/63784 diff --git a/libgomp/config/linux/mips/futex.h b/libgomp/config/linux/mips/futex.h index ae32b80569c..7961d32c009 100644 --- a/libgomp/config/linux/mips/futex.h +++ b/libgomp/config/linux/mips/futex.h @@ -25,6 +25,11 @@ /* Provide target-specific access to the futex system call. */ #include + +#if !defined (SYS_futex) +#define SYS_futex __NR_futex +#endif + #define FUTEX_WAIT 0 #define FUTEX_WAKE 1