$OpenBSD: patch-include_sysinc_h,v 1.3 2015/05/15 08:04:44 robert Exp $

quick hack to fix building following if.h split; should really have an
autoconf check for it but that's harder because AC_CHECK_HEADERS isn't enough
for this file

--- include/sysinc.h.orig	Wed Apr 22 09:56:00 2015
+++ include/sysinc.h	Fri May 15 09:39:54 2015
@@ -145,6 +145,10 @@
 #	include <sys/dkstat.h>
 #endif
 
+#ifdef HAVE_SYS_SCHED_H
+#	include <sys/sched.h>
+#endif
+
 #ifdef HAVE_DEVSTAT_H
 #	include <devstat.h>
 #endif
@@ -302,6 +306,7 @@
 
 #ifdef HAVE_NET_IF_H
 #	include <net/if.h>
+#	include <net/if_var.h>
 #endif
 
 #ifdef HAVE_NET_IF_MIB_H
