diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2012-10-11 16:25:32 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2013-02-20 13:45:13 +0100 |
commit | 634e74f630772fe2eb0e731d8a5cd35cf4a0da79 (patch) | |
tree | 53fb89d17967d5be73426d7b284393bfc56a20cc /ldso/include/ldso.h | |
parent | 9f44c4ca56c2a318fb51029340a26764ed2b708f (diff) |
ldso: Use newer syscalls if arch does not have the deprecated syscalls
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'ldso/include/ldso.h')
-rw-r--r-- | ldso/include/ldso.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ldso/include/ldso.h b/ldso/include/ldso.h index e0671f74a..1e0465382 100644 --- a/ldso/include/ldso.h +++ b/ldso/include/ldso.h @@ -30,6 +30,10 @@ #include <stddef.h> /* for ptrdiff_t */ #include <stdbool.h> #define _FCNTL_H +/* We need this if arch has only new syscalls defined */ +#ifndef AT_FDCWD +#define AT_FDCWD -100 +#endif /* AT_FDCWD */ #include <bits/fcntl.h> #include <bits/wordsize.h> /* Pull in the arch specific type information */ |