$OpenBSD: patch-sysdeps_openbsd_netload_c,v 1.6 2014/02/03 13:50:32 ajacoutot Exp $

RM at next release.

--- sysdeps/openbsd/netload.c.orig	Sat Jul 27 14:40:23 2013
+++ sysdeps/openbsd/netload.c	Sun Feb  2 12:54:19 2014
@@ -36,12 +36,13 @@
 
 #include <sys/ioctl.h>
 
-#ifdef HAVE_NET_IF_VAR_H
 #include <net/if_var.h>
-#endif
 
 #include <netinet/in.h>
+#define _KERNEL
 #include <netinet/in_var.h>
+#undef _KERNEL
+#include <netinet6/in6_var.h>
 
 static const unsigned long _glibtop_sysdeps_netload =
 (1L << GLIBTOP_NETLOAD_IF_FLAGS) +
