aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-08-26 16:59:14 +0000
committerUlrich Drepper <drepper@redhat.com>2004-08-26 16:59:14 +0000
commitc80ce440fbbcec62f4e1706737c8b29271678911 (patch)
tree46b36199168004c964d4d7e28795f6238085bacd
parent13e579e4f99b1a450fb899076bd53d2784686580 (diff)
downloadglibc-c80ce440fbbcec62f4e1706737c8b29271678911.tar.xz
glibc-c80ce440fbbcec62f4e1706737c8b29271678911.zip
Include sgidefs.h only if NO_SGIDEFS_H isn't defined.
-rw-r--r--sysdeps/unix/sysv/linux/mips/pread.c2
-rw-r--r--sysdeps/unix/sysv/linux/mips/pread64.c2
-rw-r--r--sysdeps/unix/sysv/linux/mips/pwrite.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/pread.c b/sysdeps/unix/sysv/linux/mips/pread.c
index d2a6c69db5..8fba0340b8 100644
--- a/sysdeps/unix/sysv/linux/mips/pread.c
+++ b/sysdeps/unix/sysv/linux/mips/pread.c
@@ -28,7 +28,9 @@
#include <bp-checks.h>
#include <kernel-features.h>
+#ifndef NO_SGIDEFS_H
#include <sgidefs.h>
+#endif
#ifdef __NR_pread64 /* Newer kernels renamed but it's the same. */
# ifdef __NR_pread
diff --git a/sysdeps/unix/sysv/linux/mips/pread64.c b/sysdeps/unix/sysv/linux/mips/pread64.c
index b63bb9c2aa..238c8e0d8b 100644
--- a/sysdeps/unix/sysv/linux/mips/pread64.c
+++ b/sysdeps/unix/sysv/linux/mips/pread64.c
@@ -27,7 +27,9 @@
#include <bp-checks.h>
#include <kernel-features.h>
+#ifndef NO_SGIDEFS_H
#include <sgidefs.h>
+#endif
#ifdef __NR_pread64 /* Newer kernels renamed but it's the same. */
# ifdef __NR_pread
diff --git a/sysdeps/unix/sysv/linux/mips/pwrite.c b/sysdeps/unix/sysv/linux/mips/pwrite.c
index 50c8265236..d0e3fe538e 100644
--- a/sysdeps/unix/sysv/linux/mips/pwrite.c
+++ b/sysdeps/unix/sysv/linux/mips/pwrite.c
@@ -28,7 +28,9 @@
#include <bp-checks.h>
#include <kernel-features.h>
+#ifndef NO_SGIDEFS_H
#include <sgidefs.h>
+#endif
#ifdef __NR_pwrite64 /* Newer kernels renamed but it's the same. */
# ifdef __NR_pwrite