diff options
Diffstat (limited to 'libc/sysdeps')
-rw-r--r-- | libc/sysdeps/linux/common/fdatasync.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/fdatasync.c b/libc/sysdeps/linux/common/fdatasync.c index 5695c5090..610780893 100644 --- a/libc/sysdeps/linux/common/fdatasync.c +++ b/libc/sysdeps/linux/common/fdatasync.c @@ -9,4 +9,11 @@ #include "syscalls.h" #include <unistd.h> + +#if defined (__alpha__) +#undef __NR_fdatasync +#define __NR_fdatasync __NR_osf_fdatasync +#endif + _syscall1(int, fdatasync, int, fd); + |