X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Ftincd.c;h=1feab407283dda960e7fe22bc38534a6005d451a;hb=a8b52becbbd86a52dc50a6a1b725a80737f2c760;hp=ff893df6ddbe8674a6eb71f226c0f71523e1e894;hpb=cc3c69c892b0dad9a6ece0a0f4ccd429a22fcbff;p=tinc diff --git a/src/tincd.c b/src/tincd.c index ff893df6..1feab407 100644 --- a/src/tincd.c +++ b/src/tincd.c @@ -33,12 +33,6 @@ #include #endif -#include -#include -#include -#include -#include - #ifdef HAVE_LZO #include LZO1X_H #endif @@ -252,9 +246,7 @@ static bool parse_options(int argc, char **argv) { } static bool drop_privs(void) { -#ifdef HAVE_MINGW - return false; -#else +#ifndef HAVE_MINGW uid_t uid = 0; if (switchuser) { struct passwd *pw = getpwnam(switchuser);