[ovs-dev] [PATCH 11/18] include some headers to satisfy header file dependencies on NetBSD-6.

YAMAMOTO Takashi yamamoto at valinux.co.jp
Thu Jan 31 10:49:45 UTC 2013


From: YAMAMOTO Takashi <yamt at mwd.biglobe.ne.jp>

while this change don't seem to be necessary on NetBSD-current,
NetBSD-6 is the latest release at this point.

Signed-off-by: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
---
 lib/route-table.h | 1 +
 lib/socket-util.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/lib/route-table.h b/lib/route-table.h
index 804cb3f..6403b6d 100644
--- a/lib/route-table.h
+++ b/lib/route-table.h
@@ -17,6 +17,7 @@
 #ifndef ROUTE_TABLE_H
 #define ROUTE_TABLE_H 1
 
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <net/if.h>
 #include <stdbool.h>
diff --git a/lib/socket-util.h b/lib/socket-util.h
index 5bf8529..96aad5d 100644
--- a/lib/socket-util.h
+++ b/lib/socket-util.h
@@ -23,6 +23,7 @@
 #include <netinet/in.h>
 #include <stdbool.h>
 #include "openvswitch/types.h"
+#include <netinet/in_systm.h>
 #include <netinet/ip.h>
 
 int set_nonblocking(int fd);
-- 
1.7.12




More information about the dev mailing list