From 634e74f630772fe2eb0e731d8a5cd35cf4a0da79 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Thu, 11 Oct 2012 16:25:32 +0100 Subject: ldso: Use newer syscalls if arch does not have the deprecated syscalls Signed-off-by: Markos Chandras Signed-off-by: Bernhard Reutner-Fischer --- ldso/include/ldso.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ldso/include/ldso.h') 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 /* for ptrdiff_t */ #include #define _FCNTL_H +/* We need this if arch has only new syscalls defined */ +#ifndef AT_FDCWD +#define AT_FDCWD -100 +#endif /* AT_FDCWD */ #include #include /* Pull in the arch specific type information */ -- cgit v1.2.3