From 1c097bc0d19bb2a3187529f5881a4b09f8416dc5 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 20 Jul 2009 13:52:26 -0400 Subject: fdatasync: handle latest alpha syscalls The latest alpha Linux kernel defines __NR_fdatasync like everyone else and deprecates the older __NR_osf_fdatasync, so support that setup. Signed-off-by: Mike Frysinger --- libc/sysdeps/linux/common/fdatasync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/sysdeps/linux/common/fdatasync.c b/libc/sysdeps/linux/common/fdatasync.c index 07433bc77..a40f3e00c 100644 --- a/libc/sysdeps/linux/common/fdatasync.c +++ b/libc/sysdeps/linux/common/fdatasync.c @@ -10,7 +10,7 @@ #include #include -#if defined __NR_osf_fdatasync +#if !defined __NR_fdatasync && defined __NR_osf_fdatasync # define __NR_fdatasync __NR_osf_fdatasync #endif -- cgit v1.2.3