From 53a60a878b36884c586b7892f4b7cf56d5a6e0dc Mon Sep 17 00:00:00 2001
From: Peter S. Mazinger <ps.m@gmx.net>
Date: Mon, 18 Apr 2011 00:23:18 +0200
Subject: [PATCH 303/396] fix condition for fdatasync stub

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
---
 libc/sysdeps/linux/common/stubs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libc/sysdeps/linux/common/stubs.c b/libc/sysdeps/linux/common/stubs.c
index 3335411..bc20f6c 100644
--- a/libc/sysdeps/linux/common/stubs.c
+++ b/libc/sysdeps/linux/common/stubs.c
@@ -120,7 +120,7 @@ make_stub(epoll_wait)
 make_stub(eventfd)
 #endif
 
-#ifndef __NR_fdatasync
+#if !defined __NR_fdatasync && !defined __NR_osf_fdatasync
 make_stub(fdatasync)
 #endif
 
-- 
1.7.0.4

