mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 07:31:20 +00:00
01e44ac1f9
This commit removes all references to emacs24 with the exception of emacs24-macports. The two folders in `pkgs/applications/editors` named `emacs-24` and `emacs-24` are consolidated to a new `emacs` folder. Various parts in nixpkgs also referenced `emacs24Packages` (pinned to `emacs24`) explicitly where `emacsPackages` (non-pinned) is more appropriate. These references get fixed by this commit too.
16 lines
335 B
Diff
16 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
|