diff options
Diffstat (limited to 'src/daemon.hpp')
-rw-r--r-- | src/daemon.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/daemon.hpp b/src/daemon.hpp index be5c710..9f1715d 100644 --- a/src/daemon.hpp +++ b/src/daemon.hpp @@ -2,6 +2,14 @@ #define _DAEMON_HPP #ifndef NODAEMON +#include <poll.h> +#include <fcntl.h> +#include <pwd.h> +#include <grp.h> +#include <sys/wait.h> +#include <sys/stat.h> +#include <unistd.h> + void chrootAndDrop(std::string const& chrootdir, std::string const& username) { if (getuid() != 0) |