--- rxvt-unicode/src/proxy.C 2006/01/25 10:51:26 1.1 +++ rxvt-unicode/src/proxy.C 2006/02/07 05:32:47 1.4 @@ -27,10 +27,6 @@ #include "ptytty.h" -// helper/proxy support - -#if PTYTTY_HELPER - #include #include @@ -38,6 +34,10 @@ #include #include +// helper/proxy support + +#if PTYTTY_HELPER + static int sock_fd = -1, lock_fd = -1; static int helper_pid, owner_pid; @@ -305,7 +305,7 @@ #if PTYTTY_HELPER use_helper (); #else - ptytty_warn ("running setuid/setgid without pty helper compiled in, continuing unprivileged.\n"); + ptytty_warn ("running setuid/setgid without pty helper compiled in, continuing unprivileged.\n", 0); #endif drop_privileges (); @@ -328,6 +328,8 @@ #elif HAVE_SETUID setgid (gid); setuid (uid); +#else +# error no way to drop privileges, configure failed? #endif if (uid != geteuid ()