aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paludis/util/fs_path.cc2
-rw-r--r--paludis/util/process.cc1
2 files changed, 3 insertions, 0 deletions
diff --git a/paludis/util/fs_path.cc b/paludis/util/fs_path.cc
index 43d28fbde..5ca38f272 100644
--- a/paludis/util/fs_path.cc
+++ b/paludis/util/fs_path.cc
@@ -31,10 +31,12 @@
#include <paludis/util/wrapped_output_iterator-impl.hh>
#include <paludis/util/wrapped_forward_iterator-impl.hh>
+#include <cstdio>
#include <string>
#include <climits>
#include <cstdlib>
#include <cstring>
+#include <errno.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <fcntl.h>
diff --git a/paludis/util/process.cc b/paludis/util/process.cc
index a48f1a6a4..8778d4725 100644
--- a/paludis/util/process.cc
+++ b/paludis/util/process.cc
@@ -35,6 +35,7 @@
#include <map>
#include <cstdlib>
+#include <errno.h>
#include <unistd.h>
#include <grp.h>
#include <pwd.h>