]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Include sgidefs.h only if NO_SGIDEFS_H isn't defined. Don't include
authorUlrich Drepper <drepper@redhat.com>
Sat, 27 Nov 2004 20:01:03 +0000 (20:01 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 27 Nov 2004 20:01:03 +0000 (20:01 +0000)
sgidefs.h twice.

sysdeps/unix/sysv/linux/mips/pread.c
sysdeps/unix/sysv/linux/mips/pread64.c
sysdeps/unix/sysv/linux/mips/pwrite.c
sysdeps/unix/sysv/linux/mips/pwrite64.c

index d0947bea426b30bc51e5f472c1ed301bb8911912..eff7d473d042644f16481b4895836453eba39823 100644 (file)
@@ -20,7 +20,9 @@
 
 #include <assert.h>
 #include <errno.h>
+#ifndef NO_SGIDEFS_H
 #include <sgidefs.h>
+#endif
 #include <unistd.h>
 #include <endian.h>
 
@@ -29,9 +31,6 @@
 #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
index e8a45da5b11b6c09f26e901815b9c3c3c2a5d484..d8763acabba372238062d0cf580bacb3a1d3877d 100644 (file)
@@ -19,7 +19,9 @@
    02111-1307 USA.  */
 
 #include <errno.h>
+#ifndef NO_SGIDEFS_H
 #include <sgidefs.h>
+#endif
 #include <unistd.h>
 #include <endian.h>
 
@@ -28,9 +30,6 @@
 #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
index 130515af6dc762a9590f97f6abdc7666f74b3480..4378ebc85979e15b3a9d84a112fc5120540218b6 100644 (file)
@@ -20,7 +20,9 @@
 
 #include <assert.h>
 #include <errno.h>
+#ifndef NO_SGIDEFS_H
 #include <sgidefs.h>
+#endif
 #include <unistd.h>
 #include <endian.h>
 
@@ -29,9 +31,6 @@
 #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
index e4908fa779120f68f93845f228366502d6b180cf..e5853e432ed64c18cedcaf0b826aacf04c0bba00 100644 (file)
@@ -19,7 +19,9 @@
    02111-1307 USA.  */
 
 #include <errno.h>
+#ifndef NO_SGIDEFS_H
 #include <sgidefs.h>
+#endif
 #include <unistd.h>
 #include <endian.h>