diff options
author | Andreas Jaeger <aj@suse.de> | 2003-05-05 08:45:16 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2003-05-05 08:45:16 +0000 |
commit | 0fe8d5e6af87792e9cf7c03e682c332c7ec47335 (patch) | |
tree | d4779d44534aff6c484deca4b8dffab4ee71b3e5 /sysdeps | |
parent | c6696b7957c62d89379d765c9a9008441ee7580c (diff) | |
download | glibc-0fe8d5e6af87792e9cf7c03e682c332c7ec47335.zip glibc-0fe8d5e6af87792e9cf7c03e682c332c7ec47335.tar.gz glibc-0fe8d5e6af87792e9cf7c03e682c332c7ec47335.tar.bz2 |
(__NR_semtimedop): Define if not defined.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/sysdep.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/sysdep.h b/sysdeps/unix/sysv/linux/x86_64/sysdep.h index 0edbe66..e88c48a 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, |