2015-12-16 23:13:16 +00:00
|
|
|
diff --git a/lib/careadlinkat.h b/lib/careadlinkat.h
|
2016-06-02 12:26:18 +01:00
|
|
|
index 84ede3e..8e8f42e 100644
|
2015-12-16 23:13:16 +00:00
|
|
|
--- a/lib/careadlinkat.h
|
|
|
|
+++ b/lib/careadlinkat.h
|
2016-06-02 12:26:18 +01:00
|
|
|
@@ -23,6 +23,10 @@
|
2015-12-16 23:13:16 +00:00
|
|
|
#include <fcntl.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
|
2016-06-02 12:26:18 +01:00
|
|
|
+#ifndef AT_FDCWD
|
2015-12-16 23:13:16 +00:00
|
|
|
+#define AT_FDCWD -2
|
2016-06-02 12:26:18 +01:00
|
|
|
+#endif
|
2015-12-16 23:13:16 +00:00
|
|
|
+
|
|
|
|
struct allocator;
|
|
|
|
|
|
|
|
/* Assuming the current directory is FD, get the symbolic link value
|