about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-12-22T16·40+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-12-22T16·40+0000
commit833f2fc92da8d31c62eb35dae8b3861829a1383a (patch)
tree1b17d4abba32942bdf2ea0f47def8c94c6ee14cc /src/libstore
parentcf0287c09e8b5816c65dd265c4ef167865d70172 (diff)
* GCC 2.95 compatibility.
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/exec.cc1
-rw-r--r--src/libstore/store.cc1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/exec.cc b/src/libstore/exec.cc
index 47a385f147d5..2adf03841c4f 100644
--- a/src/libstore/exec.cc
+++ b/src/libstore/exec.cc
@@ -1,4 +1,5 @@
 #include <iostream>
+#include <cstdio>
 
 #include <sys/types.h>
 #include <sys/stat.h>
diff --git a/src/libstore/store.cc b/src/libstore/store.cc
index acdb4708e2d5..20625b9fe82c 100644
--- a/src/libstore/store.cc
+++ b/src/libstore/store.cc
@@ -1,4 +1,5 @@
 #include <iostream>
+#include <algorithm>
 
 #include <sys/wait.h>
 #include <unistd.h>