8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
15 lines
335 B
Diff
15 lines
335 B
Diff
diff --git a/lib/careadlinkat.h b/lib/careadlinkat.h
|
|
index 84ede3e..8e8f42e 100644
|
|
--- a/lib/careadlinkat.h
|
|
+++ b/lib/careadlinkat.h
|
|
@@ -23,6 +23,10 @@
|
|
#include <fcntl.h>
|
|
#include <unistd.h>
|
|
|
|
+#ifndef AT_FDCWD
|
|
+#define AT_FDCWD -2
|
|
+#endif
|
|
+
|
|
struct allocator;
|
|
|
|
/* Assuming the current directory is FD, get the symbolic link value
|