aboutsummaryrefslogtreecommitdiff
path: root/src
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 /src
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
Diffstat (limited to 'src')
-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
4 files changed, 4 insertions, 0 deletions
diff --git a/src/clients/cave/cmd_display_resolution.cc b/src/clients/cave/cmd_display_resolution.cc
index 5d6a25d8c..9046b0f04 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 f5fdae4bf..0925071ab 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 34e2229ac..48e0f23d0 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 c4e5cf11c..6afbb408a 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"