From fa8c53f2767a9932f70fd729c802c7e814dab48f Mon Sep 17 00:00:00 2001
From: Peter S. Mazinger <ps.m@gmx.net>
Date: Sat, 23 Apr 2011 14:15:33 +0200
Subject: [PATCH 336/396] lseek.c: missed to define __NR___lseek_nocancel

Reported-by: Tony Wu <tung7970@gmail.com>
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
---
 libc/sysdeps/linux/common/lseek.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libc/sysdeps/linux/common/lseek.c b/libc/sysdeps/linux/common/lseek.c
index ce769d3..688f2d0 100644
--- a/libc/sysdeps/linux/common/lseek.c
+++ b/libc/sysdeps/linux/common/lseek.c
@@ -12,6 +12,7 @@
 #include <cancel.h>
 
 #ifdef __NR_lseek
+# define __NR___lseek_nocancel __NR_lseek
 _syscall3(off_t, __NC(lseek), int, fd, off_t, offset, int, whence)
 #else
 # include <errno.h>
-- 
1.7.0.4

