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
This commit is contained in:
Jasper Lievisse Adriaanse
2014-01-23 10:30:53 +01:00
parent 2caff8bf5c
commit 07d2816d5b

View File

@@ -36,12 +36,12 @@
#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 =