diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/mips')
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/pread.c | 5 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/pread64.c | 5 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/pwrite.c | 5 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/pwrite64.c | 2 |
4 files changed, 8 insertions, 9 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/pread.c b/sysdeps/unix/sysv/linux/mips/pread.c index d0947bea42..eff7d473d0 100644 --- a/sysdeps/unix/sysv/linux/mips/pread.c +++ b/sysdeps/unix/sysv/linux/mips/pread.c @@ -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 diff --git a/sysdeps/unix/sysv/linux/mips/pread64.c b/sysdeps/unix/sysv/linux/mips/pread64.c index e8a45da5b1..d8763acabb 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 <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 diff --git a/sysdeps/unix/sysv/linux/mips/pwrite.c b/sysdeps/unix/sysv/linux/mips/pwrite.c index 130515af6d..4378ebc859 100644 --- a/sysdeps/unix/sysv/linux/mips/pwrite.c +++ b/sysdeps/unix/sysv/linux/mips/pwrite.c @@ -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 diff --git a/sysdeps/unix/sysv/linux/mips/pwrite64.c b/sysdeps/unix/sysv/linux/mips/pwrite64.c index e4908fa779..e5853e432e 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 <errno.h> +#ifndef NO_SGIDEFS_H #include <sgidefs.h> +#endif #include <unistd.h> #include <endian.h> |