about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-09-24T07·39+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-09-24T07·39+0000
commitc7057fc1f2232a530709a1596b2fe8722ed19aef (patch)
tree5672020fd4772518f15ef30373583145fec2858f /src/libstore
parent193f59e0771f35e977a4b4606c91c90d5c50ae0a (diff)
* And some more.
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/local-store.cc1
-rw-r--r--src/libstore/optimise-store.cc1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc
index 6193792118bf..f1a314fa10cd 100644
--- a/src/libstore/local-store.cc
+++ b/src/libstore/local-store.cc
@@ -16,6 +16,7 @@
 #include <utime.h>
 #include <fcntl.h>
 #include <errno.h>
+#include <stdio.h>
 
 
 namespace nix {
diff --git a/src/libstore/optimise-store.cc b/src/libstore/optimise-store.cc
index 2246fa8269a6..d15049201ea4 100644
--- a/src/libstore/optimise-store.cc
+++ b/src/libstore/optimise-store.cc
@@ -5,6 +5,7 @@
 #include <sys/stat.h>
 #include <unistd.h>
 #include <errno.h>
+#include <stdio.h>
 
 
 namespace nix {