[libgtop] OpenBSD: add missing header



commit 250666219659d721377613a916d8f166c2df93ee
Author: Antoine Jacoutot <ajacoutot gnome org>
Date:   Wed Oct 16 17:09:16 2013 +0200

    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>.

 sysdeps/openbsd/netload.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/sysdeps/openbsd/netload.c b/sysdeps/openbsd/netload.c
index 79c742b..773d81c 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) +


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]