mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
14 lines
308 B
Diff
14 lines
308 B
Diff
|
diff --git a/lib/careadlinkat.h b/lib/careadlinkat.h
|
||
|
index 5cdb813..7a272e8 100644
|
||
|
--- a/lib/careadlinkat.h
|
||
|
+++ b/lib/careadlinkat.h
|
||
|
@@ -23,6 +23,8 @@
|
||
|
#include <fcntl.h>
|
||
|
#include <unistd.h>
|
||
|
|
||
|
+#define AT_FDCWD -2
|
||
|
+
|
||
|
struct allocator;
|
||
|
|
||
|
/* Assuming the current directory is FD, get the symbolic link value
|