summaryrefslogtreecommitdiff
path: root/src/daemon.hpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2009-02-18 10:17:44 +0000
committerOthmar Gsenger <otti@anytun.org>2009-02-18 10:17:44 +0000
commit9743a080833f6de98884708112dcfb0a3fed37dd (patch)
treef1cad9a890e3a258d7ae63efffa5dda785e8226a /src/daemon.hpp
parentadded strip Makefile target (diff)
static build mostly fixed
getsddrinfo still needs libc
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)
{