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