$OpenBSD: patch-lib_libvmod_unix_cred_compat_h,v 1.2 2018/10/08 11:44:10 gonzalo Exp $

Index: lib/libvmod_unix/cred_compat.h
--- lib/libvmod_unix/cred_compat.h.orig
+++ lib/libvmod_unix/cred_compat.h
@@ -70,7 +70,7 @@ get_ids(int fd, uid_t *uid, gid_t *gid)
 
 #if defined(SO_PEERCRED)
 
-	struct ucred ucred;
+	struct sockpeercred ucred;
 	socklen_t l = sizeof(ucred);
 
 	errno = 0;
