about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-11-22T10·00+0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-11-22T10·00+0000
commit709cbe4e76e7b0f1b8abddbeb7714e194f6f8a02 (patch)
tree2d62c63e7611404b7c8801e78595267585cfc996 /src/libstore
parentd4a76ff0e45a609b3a878bc0ccf4ff95ff3e9ecb (diff)
Include <cstring> for memset
This should fix building on Illumos.
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/local-store.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc
index 8aa113796da1..3c367c080815 100644
--- a/src/libstore/local-store.cc
+++ b/src/libstore/local-store.cc
@@ -9,6 +9,7 @@
 
 #include <iostream>
 #include <algorithm>
+#include <cstring>
 
 #include <sys/types.h>
 #include <sys/stat.h>