about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-10-26T10·12+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-10-26T10·12+0100
commit45b2f32cc1f1ef3623630427f37a0b0d0093d53e (patch)
tree9420f7b09f2aad9cb9f1c15130ac3e7cd883c4b1
parentfef8c3a5ab2caaa24bc102984ae0436efd1f419e (diff)
parent058d1950c0e5b52f64d59fd8a9a6385f51f7956e (diff)
Merge pull request #668 from svanderburg/master
Fix compilation error due to missing ENOENT on cygwin
-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;