about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-09-11T08·31+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-09-11T08·31+0000
commitd930a9bc5a69b33dc7fe707838ccdd72e89f8079 (patch)
tree0344e41b0ccee39629c8e53db568769066cf93df
parent803a924b77730f6f7e04dde0cbfda2522f06a2b1 (diff)
* Added some missing #includes.
-rw-r--r--src/archive.cc2
-rw-r--r--src/pathlocks.cc2
-rw-r--r--src/references.cc1
-rw-r--r--src/util.cc2
4 files changed, 7 insertions, 0 deletions
diff --git a/src/archive.cc b/src/archive.cc
index 9170ca3ad650..4a6211e00eda 100644
--- a/src/archive.cc
+++ b/src/archive.cc
@@ -1,3 +1,5 @@
+#include <cerrno>
+#include <algorithm>
 #include <vector>
 
 #include <sys/types.h>
diff --git a/src/pathlocks.cc b/src/pathlocks.cc
index 78aae26bdb64..93f456ace693 100644
--- a/src/pathlocks.cc
+++ b/src/pathlocks.cc
@@ -1,3 +1,5 @@
+#include <cerrno>
+
 #include <fcntl.h>
 
 #include "pathlocks.hh"
diff --git a/src/references.cc b/src/references.cc
index 8934d53061cd..be432665b884 100644
--- a/src/references.cc
+++ b/src/references.cc
@@ -1,3 +1,4 @@
+#include <cerrno>
 #include <map>
 
 #include <sys/types.h>
diff --git a/src/util.cc b/src/util.cc
index f2cdb1d72345..bedd031def3d 100644
--- a/src/util.cc
+++ b/src/util.cc
@@ -1,4 +1,6 @@
 #include <iostream>
+#include <cerrno>
+#include <cstdio>
 
 #include <sys/types.h>
 #include <sys/stat.h>