about summary refs log tree commit diff
path: root/src/nix-collect-garbage
diff options
context:
space:
mode:
authorSander van der Burg <svanderburg@gmail.com>2015-10-18T19·04+0000
committerSander van der Burg <svanderburg@gmail.com>2015-10-18T19·04+0000
commit058d1950c0e5b52f64d59fd8a9a6385f51f7956e (patch)
tree03fe2590dbe00d93523caa2966b679ea97a8a4dd /src/nix-collect-garbage
parent133a421bb40cca3a74c93b05f3abe310110c6258 (diff)
Fix compilation error due to missing ENOENT on cygwin
Diffstat (limited to 'src/nix-collect-garbage')
-rw-r--r--src/nix-collect-garbage/nix-collect-garbage.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix-collect-garbage/nix-collect-garbage.cc b/src/nix-collect-garbage/nix-collect-garbage.cc
index bb4789aeac82..5a72cb712014 100644
--- a/src/nix-collect-garbage/nix-collect-garbage.cc
+++ b/src/nix-collect-garbage/nix-collect-garbage.cc
@@ -4,6 +4,7 @@
 #include "globals.hh"
 
 #include <iostream>
+#include <cerrno>
 
 using namespace nix;