From 9743a080833f6de98884708112dcfb0a3fed37dd Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Wed, 18 Feb 2009 10:17:44 +0000 Subject: static build mostly fixed getsddrinfo still needs libc --- src/daemon.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/daemon.hpp') 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) { -- cgit v1.2.3