summaryrefslogtreecommitdiff
path: root/src/daemon.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon.hpp')
-rw-r--r--src/daemon.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/daemon.hpp b/src/daemon.hpp
index 4b59661..cc9a2b2 100644
--- a/src/daemon.hpp
+++ b/src/daemon.hpp
@@ -45,6 +45,7 @@
#include "log.h"
+#ifndef NO_PRIVDROP
class PrivInfo
{
public:
@@ -101,6 +102,7 @@ private:
struct passwd* pw_;
struct group* gr_;
};
+#endif
void do_chroot(std::string const& chrootdir)
{