--- vfs/mcserv.c.orig	Mon Apr 24 13:39:16 2000
+++ vfs/mcserv.c	Mon Apr 24 13:39:59 2000
@@ -912,7 +912,7 @@ do_auth (char *username, char *password)
 #endif
 #endif    
 
-#ifndef BSD
+#if !defined(BSD) || defined(__OpenBSD__)
     if (setuid (this->pw_uid))
 #else
     if (setreuid (this->pw_uid, this->pw_uid))
