[ovs-dev] [PATCH] netdev-native-tnl: Fix a build error on NetBSD 7.0
YAMAMOTO Takashi
yamamoto at ovn.org
Fri May 20 06:18:44 UTC 2016
netinet/ip6.h is not a standalone header there.
Signed-off-by: YAMAMOTO Takashi <yamamoto at ovn.org>
---
lib/netdev-native-tnl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/netdev-native-tnl.c b/lib/netdev-native-tnl.c
index 2e181f2..123f3b2 100644
--- a/lib/netdev-native-tnl.c
+++ b/lib/netdev-native-tnl.c
@@ -20,6 +20,7 @@
#include <fcntl.h>
#include <sys/socket.h>
#include <net/if.h>
+#include <netinet/in.h>
#include <netinet/ip6.h>
#include <sys/ioctl.h>
--
2.5.4 (Apple Git-61)
More information about the dev
mailing list