[ovs-dev] [PATCH 13/22] include some headers to satisfy header file dependencies on NetBSD-6
YAMAMOTO Takashi
yamt at mwd.biglobe.ne.jp
Mon Apr 22 13:20:11 UTC 2013
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 <yamt at mwd.biglobe.ne.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.8.0.1
More information about the dev
mailing list