diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/posix/getcwd.c | 2 | ||||
-rw-r--r-- | sysdeps/unix/syscalls.list | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/posix/getcwd.c b/sysdeps/posix/getcwd.c index 11577ebdbf..0724ef59a2 100644 --- a/sysdeps/posix/getcwd.c +++ b/sysdeps/posix/getcwd.c @@ -80,7 +80,7 @@ extern int errno; #endif /* USG */ #endif /* POSIX or DIRENT or __GNU_LIBRARY__ */ -#ifdef HAVE_UNISTD_H +#if defined (HAVE_UNISTD_H) || defined (__GNU_LIBRARY__) #include <unistd.h> #endif diff --git a/sysdeps/unix/syscalls.list b/sysdeps/unix/syscalls.list index 2f5c524abe..7fba017fc0 100644 --- a/sysdeps/unix/syscalls.list +++ b/sysdeps/unix/syscalls.list @@ -8,7 +8,7 @@ chown - chown 3 __chown chown chroot - chroot 1 chroot close - close 1 __close close dup - dup 2 __dup dup -dup2 - dup2 2 __dup2 dup2 +dup2 - dup2 2 __dup2 dup2 fchdir - fchdir 1 fchdir fcntl - fcntl 3 __fcntl fcntl fsync - fsync 1 fsync @@ -24,7 +24,7 @@ ioctl - ioctl 3 __ioctl ioctl kill - kill 2 __kill kill link - link 2 __link link lseek - lseek 3 __lseek lseek -mkdir - mkdir 2 __mkdir mkdir +mkdir - mkdir 2 __mkdir mkdir open - open 3 __open open profil - profil 4 profil ptrace - ptrace 4 ptrace |