$OpenBSD: patch-qrouter_h,v 1.1.1.1 2018/08/28 15:09:08 bcallah Exp $

Index: qrouter.h
--- qrouter.h.orig
+++ qrouter.h
@@ -40,7 +40,7 @@ typedef unsigned long  u_long;
 #endif /* _SYS_TYPES_H */
 
 /* Compare functions aren't defined in the Mac's standard library */
-#if defined(__APPLE__)
+#if defined(__APPLE__) || defined(__OpenBSD__)
 typedef int (*__compar_fn_t)(const void*, const void*);
 #endif
 
