aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/mips/pwrite.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-11-27 20:38:06 +0000
committerUlrich Drepper <drepper@redhat.com>2004-11-27 20:38:06 +0000
commit097487fef878799882bd444218cef836794abc5f (patch)
tree6d6278790d406161937009b9d160a2d440a7c5ab /sysdeps/unix/sysv/linux/mips/pwrite.c
parent102070bccd48c5daab06adb921eb76463987bdcd (diff)
downloadglibc-097487fef878799882bd444218cef836794abc5f.tar
glibc-097487fef878799882bd444218cef836794abc5f.tar.gz
glibc-097487fef878799882bd444218cef836794abc5f.tar.bz2
glibc-097487fef878799882bd444218cef836794abc5f.zip
Update.
2004-11-26 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add GETCONF_DIR. 2004-11-26 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/mips/pread.c: Include sgidefs.h only if NO_SGIDEFS_H isn't defined. Don't include sgidefs.h twice. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/mips/pwrite.c')
-rw-r--r--sysdeps/unix/sysv/linux/mips/pwrite.c5
1 files changed, 2 insertions, 3 deletions
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