$OpenBSD: patch-port_h,v 1.1 2001/10/12 02:49:03 brad Exp $
--- port.h.orig	Mon Apr 24 09:31:59 2000
+++ port.h	Thu Oct 11 22:16:06 2001
@@ -105,7 +105,11 @@
 
 /* Availability of setreuid(uid_t, uid_t) */
 #if defined(__linux__) || defined(_BSD43) || (defined(BSD) && (BSD >= 199103))
-#  define HAS_REUID
+#  ifdef __OpenBSD__
+#    define HAS_EUID
+#  else
+#    define HAS_REUID
+#  endif
 #endif
 
 /* Availability of fchown(int, uid_t, gid_t) */
