From 64762db4138285bdcdd3804444f767c9c58d40df Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 9 Dec 2008 23:53:33 +0000 Subject: [PATCH] * sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS): Make available only for __USE_GNU. --- ChangeLog.mips | 5 +++++ sysdeps/unix/sysv/linux/mips/bits/socket.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog.mips b/ChangeLog.mips index 91974a7..23c1e25 100644 --- a/ChangeLog.mips +++ b/ChangeLog.mips @@ -1,3 +1,8 @@ +2008-12-09 Joseph Myers + + * sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS): + Make available only for __USE_GNU. + 2008-12-03 Joseph Myers * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define diff --git a/sysdeps/unix/sysv/linux/mips/bits/socket.h b/sysdeps/unix/sysv/linux/mips/bits/socket.h index 4f219d5..dad2c2d 100644 --- a/sysdeps/unix/sysv/linux/mips/bits/socket.h +++ b/sysdeps/unix/sysv/linux/mips/bits/socket.h @@ -303,7 +303,7 @@ enum { SCM_RIGHTS = 0x01 /* Transfer file descriptors. */ #define SCM_RIGHTS SCM_RIGHTS -#ifdef __USE_BSD +#ifdef __USE_GNU , SCM_CREDENTIALS = 0x02 /* Credentials passing. */ # define SCM_CREDENTIALS SCM_CREDENTIALS #endif -- 2.7.4