about summary refs log tree commit diff
path: root/src/nix-env
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-07-01T11·11+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-07-01T11·11+0000
commitb584253af461b02f70ea3244a10d2569c85f2095 (patch)
tree401157dca36fd8f31333160d806ab9741a1c43b0 /src/nix-env
parentf5d5ffe536398fa1b0612a3613ed68734ebe8a60 (diff)
* Include some missing headers.
Diffstat (limited to 'src/nix-env')
-rw-r--r--src/nix-env/profiles.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix-env/profiles.cc b/src/nix-env/profiles.cc
index d47c528b2d2c..1eeddf3326bd 100644
--- a/src/nix-env/profiles.cc
+++ b/src/nix-env/profiles.cc
@@ -3,6 +3,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
+#include <errno.h>
 
 
 static bool cmpGensByNumber(const Generation & a, const Generation & b)