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