From 0fe8d5e6af87792e9cf7c03e682c332c7ec47335 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 5 May 2003 08:45:16 +0000 Subject: (__NR_semtimedop): Define if not defined. --- sysdeps/unix/sysv/linux/x86_64/sysdep.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sysdeps/unix/sysv/linux/x86_64/sysdep.h b/sysdeps/unix/sysv/linux/x86_64/sysdep.h index 0edbe6624f..e88c48a9e4 100644 --- a/sysdeps/unix/sysv/linux/x86_64/sysdep.h +++ b/sysdeps/unix/sysv/linux/x86_64/sysdep.h @@ -46,6 +46,13 @@ # define __NR_pwrite __NR_pwrite64 #endif +/* This is to help the old kernel headers where __NR_semtimedop is not + available. */ +#ifndef __NR_semtimedop +# define __NR_semtimedop 220 +#endif + + #ifdef __ASSEMBLER__ /* Linux uses a negative return value to indicate syscall errors, -- cgit v1.2.3