about summary refs log tree commit diff
path: root/src/libstore/references.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/references.cc')
-rw-r--r--src/libstore/references.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/references.cc b/src/libstore/references.cc
index 68d1cbfbfbc2..a6f6e85fc84b 100644
--- a/src/libstore/references.cc
+++ b/src/libstore/references.cc
@@ -4,6 +4,7 @@
 #include "archive.hh"
 
 #include <map>
+#include <cstdlib>
 
 
 namespace nix {