about summary refs log tree commit diff
path: root/src/libstore/build.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-09-24T07·21+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-09-24T07·21+0000
commit193f59e0771f35e977a4b4606c91c90d5c50ae0a (patch)
tree7b76df7038f58100f151048934025ac275174045 /src/libstore/build.cc
parent0ae2be56927729c251c7a4a45130eba672821af0 (diff)
* Fix a build failure on Fedora 11. rename() needs <stdio.h>.
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r--src/libstore/build.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index cd3dddab6cca..b52f82ebbbf3 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -21,6 +21,7 @@
 #include <fcntl.h>
 #include <unistd.h>
 #include <errno.h>
+#include <stdio.h>
 
 #include <pwd.h>
 #include <grp.h>