aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Daniel Mierswa <impulze@impulze.org> 2012-02-27 10:34:02 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-03-03 14:46:27 +0000
commitc7788e7fead2c0a92003b65e79f6c627a53384b0 (patch)
treea4c7030ababa1f4d31906b56cc45f936577a0ef4
parentde556c21a839c67534d6401fcaf278af7e19cd18 (diff)
downloadpaludis-c7788e7fead2c0a92003b65e79f6c627a53384b0.tar.gz
paludis-c7788e7fead2c0a92003b65e79f6c627a53384b0.tar.xz
include unistd.h for some function declarations
getcwd, symlink, unlink, rmdir, readlink, chown, lchown, close, getpid, getgid, getuid, isatty
-rw-r--r--paludis/environments/paludis/output_conf.cc1
-rw-r--r--paludis/environments/paludis/paludis_environment.cc1
-rw-r--r--paludis/environments/test/test_environment.cc1
-rw-r--r--paludis/repositories/e/do_fetch_action.cc1
-rw-r--r--paludis/repositories/e/do_info_action.cc1
-rw-r--r--paludis/repositories/e/do_install_action.cc1
-rw-r--r--paludis/repositories/e/do_pretend_action.cc1
-rw-r--r--paludis/util/cookie.cc1
-rw-r--r--paludis/util/fs_path.cc1
-rw-r--r--paludis/util/pty.cc1
-rwxr-xr-xsrc/clients/cave/cmd_display_resolution.cc1
-rw-r--r--src/clients/cave/cmd_generate_metadata.cc1
-rw-r--r--src/clients/cave/cmd_manage_search_index.cc1
-rw-r--r--src/clients/cave/cmd_search.cc1
14 files changed, 14 insertions, 0 deletions
diff --git a/paludis/environments/paludis/output_conf.cc b/paludis/environments/paludis/output_conf.cc
index 44d5cea..94213d1 100644
--- a/paludis/environments/paludis/output_conf.cc
+++ b/paludis/environments/paludis/output_conf.cc
@@ -53,6 +53,7 @@
#include <vector>
#include <map>
#include <algorithm>
+#include <unistd.h>
using namespace paludis;
using namespace paludis::paludis_environment;
diff --git a/paludis/environments/paludis/paludis_environment.cc b/paludis/environments/paludis/paludis_environment.cc
index de4f65d..cbe0708 100644
--- a/paludis/environments/paludis/paludis_environment.cc
+++ b/paludis/environments/paludis/paludis_environment.cc
@@ -65,6 +65,7 @@
#include <algorithm>
#include <list>
#include <map>
+#include <unistd.h>
using namespace paludis;
using namespace paludis::paludis_environment;
diff --git a/paludis/environments/test/test_environment.cc b/paludis/environments/test/test_environment.cc
index 6e3816f..7d93ffc 100644
--- a/paludis/environments/test/test_environment.cc
+++ b/paludis/environments/test/test_environment.cc
@@ -44,6 +44,7 @@
#include <unordered_map>
#include <string>
#include <list>
+#include <unistd.h>
using namespace paludis;
diff --git a/paludis/repositories/e/do_fetch_action.cc b/paludis/repositories/e/do_fetch_action.cc
index c263184..21dddbb 100644
--- a/paludis/repositories/e/do_fetch_action.cc
+++ b/paludis/repositories/e/do_fetch_action.cc
@@ -46,6 +46,7 @@
#include <algorithm>
#include <set>
+#include <unistd.h>
using namespace paludis;
using namespace paludis::erepository;
diff --git a/paludis/repositories/e/do_info_action.cc b/paludis/repositories/e/do_info_action.cc
index addfd70..ea86428 100644
--- a/paludis/repositories/e/do_info_action.cc
+++ b/paludis/repositories/e/do_info_action.cc
@@ -37,6 +37,7 @@
#include <paludis/output_manager.hh>
#include <algorithm>
+#include <unistd.h>
using namespace paludis;
using namespace paludis::erepository;
diff --git a/paludis/repositories/e/do_install_action.cc b/paludis/repositories/e/do_install_action.cc
index fd24173..5b05c82 100644
--- a/paludis/repositories/e/do_install_action.cc
+++ b/paludis/repositories/e/do_install_action.cc
@@ -52,6 +52,7 @@
#include <vector>
#include <algorithm>
#include <set>
+#include <unistd.h>
using namespace paludis;
using namespace paludis::erepository;
diff --git a/paludis/repositories/e/do_pretend_action.cc b/paludis/repositories/e/do_pretend_action.cc
index d0c8abe..b651c8f 100644
--- a/paludis/repositories/e/do_pretend_action.cc
+++ b/paludis/repositories/e/do_pretend_action.cc
@@ -39,6 +39,7 @@
#include <paludis/action.hh>
#include <algorithm>
+#include <unistd.h>
using namespace paludis;
using namespace paludis::erepository;
diff --git a/paludis/util/cookie.cc b/paludis/util/cookie.cc
index 407db42..f9ae3ab 100644
--- a/paludis/util/cookie.cc
+++ b/paludis/util/cookie.cc
@@ -21,6 +21,7 @@
#include <paludis/util/stringify.hh>
#include <sys/types.h>
#include <sys/time.h>
+#include <unistd.h>
using namespace paludis;
diff --git a/paludis/util/fs_path.cc b/paludis/util/fs_path.cc
index ff7b303..29456e4 100644
--- a/paludis/util/fs_path.cc
+++ b/paludis/util/fs_path.cc
@@ -40,6 +40,7 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <fcntl.h>
+#include <unistd.h>
#include "config.h"
diff --git a/paludis/util/pty.cc b/paludis/util/pty.cc
index 294f54b..d2cbd41 100644
--- a/paludis/util/pty.cc
+++ b/paludis/util/pty.cc
@@ -25,6 +25,7 @@
#include <fcntl.h>
#include <errno.h>
#include <cstring>
+#include <unistd.h>
#include "config.h"
#ifdef HAVE_PTSNAME_R
diff --git a/src/clients/cave/cmd_display_resolution.cc b/src/clients/cave/cmd_display_resolution.cc
index 5d6a25d..9046b0f 100755
--- a/src/clients/cave/cmd_display_resolution.cc
+++ b/src/clients/cave/cmd_display_resolution.cc
@@ -92,6 +92,7 @@
#include <cstdlib>
#include <map>
#include <limits>
+#include <unistd.h>
using namespace paludis;
using namespace cave;
diff --git a/src/clients/cave/cmd_generate_metadata.cc b/src/clients/cave/cmd_generate_metadata.cc
index f5fdae4..0925071 100644
--- a/src/clients/cave/cmd_generate_metadata.cc
+++ b/src/clients/cave/cmd_generate_metadata.cc
@@ -48,6 +48,7 @@
#include <iostream>
#include <algorithm>
#include <map>
+#include <unistd.h>
#include "command_command_line.hh"
diff --git a/src/clients/cave/cmd_manage_search_index.cc b/src/clients/cave/cmd_manage_search_index.cc
index 34e2229..48e0f23 100644
--- a/src/clients/cave/cmd_manage_search_index.cc
+++ b/src/clients/cave/cmd_manage_search_index.cc
@@ -55,6 +55,7 @@
#include <algorithm>
#include <list>
#include <map>
+#include <unistd.h>
#include "config.h"
#include "command_command_line.hh"
diff --git a/src/clients/cave/cmd_search.cc b/src/clients/cave/cmd_search.cc
index c4e5cf1..6afbb40 100644
--- a/src/clients/cave/cmd_search.cc
+++ b/src/clients/cave/cmd_search.cc
@@ -55,6 +55,7 @@
#include <algorithm>
#include <set>
#include <map>
+#include <unistd.h>
#include "command_command_line.hh"