summaryrefslogtreecommitdiff
path: root/ldso/include/ldso.h
diff options
context:
space:
mode:
Diffstat (limited to 'ldso/include/ldso.h')
-rw-r--r--ldso/include/ldso.h4
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 */