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.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/references.cc b/src/libstore/references.cc
index 19cb288bdd6b..bfb4f8d0a3af 100644
--- a/src/libstore/references.cc
+++ b/src/libstore/references.cc
@@ -3,6 +3,8 @@
 #include "util.hh"
 
 #include <cerrno>
+#include <cstring>
+#include <cstdlib>
 #include <map>
 
 #include <sys/types.h>