From 07d2816d5b39325bd7381024a88c61b7c56f7b62 Mon Sep 17 00:00:00 2001 From: Jasper Lievisse Adriaanse Date: Thu, 23 Jan 2014 10:30:53 +0100 Subject: [PATCH] Adjust header inclusion on OpenBSD - fixup header inclusion after netinet/in_var.h was made private - configure fails to define HAVE_NET_IF_VAR_H --- sysdeps/openbsd/netload.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysdeps/openbsd/netload.c b/sysdeps/openbsd/netload.c index 773d81c0..c172bba2 100644 --- a/sysdeps/openbsd/netload.c +++ b/sysdeps/openbsd/netload.c @@ -36,12 +36,12 @@ #include -#ifdef HAVE_NET_IF_VAR_H #include -#endif #include +#define _KERNEL #include +#undef _KERNEL #include static const unsigned long _glibtop_sysdeps_netload =