$OpenBSD: patch-includes_h,v 1.3 2010/05/28 15:57:12 naddy Exp $
--- includes.h.orig	Tue Aug  4 17:37:17 1998
+++ includes.h	Fri May 28 17:51:59 2010
@@ -562,9 +562,13 @@ char *mktemp(char *); /* No standard include */
 
 #ifdef __OpenBSD__
 #include <strings.h>
+#include <arpa/inet.h>
 #include <netinet/tcp.h>
 #define NO_GETSPNAM
 #define SIGNAL_CAST (void (*)())
+#ifndef QSORT_CAST
+#define QSORT_CAST (int (*)(const void *, const void *))
+#endif /* QSORT_CAST */
 #define USE_DIRECT
 #define REPLACE_INNETGR
 #define HAVE_BZERO
