$OpenBSD: patch-scheduler_auth_c,v 1.2 2011/09/08 10:33:12 ajacoutot Exp $
--- scheduler/auth.c.orig	Fri May 20 05:49:49 2011
+++ scheduler/auth.c	Fri Sep  2 09:33:11 2011
@@ -89,7 +89,7 @@ extern const char *cssmErrorString(int error);
 typedef struct xucred cupsd_ucred_t;
 #  define CUPSD_UCRED_UID(c) (c).cr_uid
 #else
-typedef struct ucred cupsd_ucred_t;
+typedef struct sockpeercred cupsd_ucred_t;
 #  define CUPSD_UCRED_UID(c) (c).uid
 #endif /* HAVE_SYS_UCRED_H */
 #ifdef HAVE_KRB5_IPC_CLIENT_SET_TARGET_UID
