diff options
-rw-r--r-- | src/archive.cc | 2 | ||||
-rw-r--r-- | src/pathlocks.cc | 2 | ||||
-rw-r--r-- | src/references.cc | 1 | ||||
-rw-r--r-- | src/util.cc | 2 |
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> |