(__NR_semtimedop): Define if not defined.

This commit is contained in:
Andreas Jaeger 2003-05-05 08:45:16 +00:00
parent c6696b7957
commit 0fe8d5e6af
1 changed files with 7 additions and 0 deletions

View File

@ -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,