summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@gnome.org>2013-10-16 17:09:16 +0200
committerAntoine Jacoutot <ajacoutot@gnome.org>2013-10-16 17:09:16 +0200
commit250666219659d721377613a916d8f166c2df93ee (patch)
tree1be284a9b51fe9cf05f3126c3d3cfaf25c07d010
parentb6eb0873e7e3ea036bc20afb09748e20f457a9a7 (diff)
downloadlibgtop-250666219659d721377613a916d8f166c2df93ee.tar.gz
OpenBSD: add missing header
netinet6/in6_var.h is not included automatically anymore from netinet/in_var.h on OpenBSD, so explicitely #include <netinet6/in6_var.h>.
-rw-r--r--sysdeps/openbsd/netload.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/openbsd/netload.c b/sysdeps/openbsd/netload.c
index 79c742b9..773d81c0 100644
--- a/sysdeps/openbsd/netload.c
+++ b/sysdeps/openbsd/netload.c
@@ -42,6 +42,7 @@
#include <netinet/in.h>
#include <netinet/in_var.h>
+#include <netinet6/in6_var.h>
static const unsigned long _glibtop_sysdeps_netload =
(1L << GLIBTOP_NETLOAD_IF_FLAGS) +