$OpenBSD: patch-src_vesta_c,v 1.1.1.1 2020/07/03 13:53:00 rsadowski Exp $

Index: src/vesta.c
--- src/vesta.c.orig
+++ src/vesta.c
@@ -82,7 +82,7 @@
 
 #define LIB_LINE_MAX  65535
 
-#ifdef __APPLE__
+#if defined(__APPLE__) || defined(__OpenBSD__)
 // Linux defines a comparison function prototype, the Mac doesn't. . .
 typedef int (*__compar_fn_t)(const void *, const void *);
 #endif
