From: Ulrich Drepper Date: Sat, 27 Nov 2004 20:01:03 +0000 (+0000) Subject: Include sgidefs.h only if NO_SGIDEFS_H isn't defined. Don't include X-Git-Tag: upstream/2.30~10627^2~1091 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f0b94226b11df6a80706d8ebe5dd04dc2e6b4aa3;p=external%2Fglibc.git Include sgidefs.h only if NO_SGIDEFS_H isn't defined. Don't include sgidefs.h twice. --- diff --git a/sysdeps/unix/sysv/linux/mips/pread.c b/sysdeps/unix/sysv/linux/mips/pread.c index d0947be..eff7d47 100644 --- a/sysdeps/unix/sysv/linux/mips/pread.c +++ b/sysdeps/unix/sysv/linux/mips/pread.c @@ -20,7 +20,9 @@ #include #include +#ifndef NO_SGIDEFS_H #include +#endif #include #include @@ -29,9 +31,6 @@ #include #include -#ifndef NO_SGIDEFS_H -#include -#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 e8a45da..d8763ac 100644 --- a/sysdeps/unix/sysv/linux/mips/pread64.c +++ b/sysdeps/unix/sysv/linux/mips/pread64.c @@ -19,7 +19,9 @@ 02111-1307 USA. */ #include +#ifndef NO_SGIDEFS_H #include +#endif #include #include @@ -28,9 +30,6 @@ #include #include -#ifndef NO_SGIDEFS_H -#include -#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 130515a..4378ebc 100644 --- a/sysdeps/unix/sysv/linux/mips/pwrite.c +++ b/sysdeps/unix/sysv/linux/mips/pwrite.c @@ -20,7 +20,9 @@ #include #include +#ifndef NO_SGIDEFS_H #include +#endif #include #include @@ -29,9 +31,6 @@ #include #include -#ifndef NO_SGIDEFS_H -#include -#endif #ifdef __NR_pwrite64 /* Newer kernels renamed but it's the same. */ # ifdef __NR_pwrite diff --git a/sysdeps/unix/sysv/linux/mips/pwrite64.c b/sysdeps/unix/sysv/linux/mips/pwrite64.c index e4908fa..e5853e4 100644 --- a/sysdeps/unix/sysv/linux/mips/pwrite64.c +++ b/sysdeps/unix/sysv/linux/mips/pwrite64.c @@ -19,7 +19,9 @@ 02111-1307 USA. */ #include +#ifndef NO_SGIDEFS_H #include +#endif #include #include