this needs access to the kernel namespace
This commit is contained in:
parent
2a60a24766
commit
c0cc669479
@ -1,11 +1,15 @@
|
||||
$OpenBSD: patch-ifmcstat_c,v 1.1 2013/10/16 15:04:08 bluhm Exp $
|
||||
$OpenBSD: patch-ifmcstat_c,v 1.2 2013/10/28 15:07:30 naddy Exp $
|
||||
--- ifmcstat.c.orig Tue Jul 21 09:47:07 2009
|
||||
+++ ifmcstat.c Sat Sep 7 16:50:32 2013
|
||||
@@ -58,6 +58,7 @@
|
||||
+++ ifmcstat.c Mon Oct 28 14:08:14 2013
|
||||
@@ -58,6 +58,11 @@
|
||||
# include <net/if_ether.h>
|
||||
#endif
|
||||
#include <netinet/in_var.h>
|
||||
+#include <netinet6/in6_var.h>
|
||||
+#ifdef __OpenBSD__
|
||||
+# define _KERNEL
|
||||
+# include <netinet6/in6_var.h>
|
||||
+# undef _KERNEL
|
||||
+#endif
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#include <netdb.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user