$OpenBSD: patch-src_persona_c,v 1.1.1.1 2001/08/10 17:00:16 pvalchev Exp $ --- src/persona.c.orig Thu Aug 9 12:22:25 2001 +++ src/persona.c Thu Aug 9 12:22:27 2001 @@ -58,7 +58,7 @@ void user_persona (void) { dmsg (D_SYSTEM, "switching to the user persona"); -#if _POSIX_SAVED_IDS && HAVE_SETEGID +#if defined(_POSIX_SAVED_IDS) && defined(HAVE_SETEGID) seteuid (user_uid); setegid (user_gid); #else @@ -81,7 +81,7 @@ void sys_persona (void) { dmsg (D_SYSTEM, "switching to the system persona"); -#if _POSIX_SAVED_IDS && HAVE_SETEGID +#if defined(_POSIX_SAVED_IDS) && defined(HAVE_SETEGID) seteuid (sys_uid); setegid (sys_gid); #else