aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2010-08-29 17:08:05 -0700
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-30 08:41:11 +0100
commit129008b9b08cb98c0d8ed8158aa114958ca2163c (patch)
tree1f4a0cd348b0330cb25d223c8dc6edd81882de50
parentaa21f574528d197dae50b1e32f0f86408b24b12a (diff)
downloadpaludis-129008b9b08cb98c0d8ed8158aa114958ca2163c.tar.gz
paludis-129008b9b08cb98c0d8ed8158aa114958ca2163c.tar.xz
fix includes
-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 43d28fb..5ca38f2 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 a48f1a6..8778d47 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>