From: Ben Pfaff Date: Wed, 26 May 2010 17:37:39 +0000 (-0700) Subject: Add some missing "#include"s. X-Git-Tag: v1.0.1~22 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=3762274e6359f4afe04107851f4c71347fa0afa0;p=sliver-openvswitch.git Add some missing "#include"s. These are required to build on FreeBSD 8.0. --- diff --git a/lib/daemon.c b/lib/daemon.c index 78f88a0f9..59628f233 100644 --- a/lib/daemon.c +++ b/lib/daemon.c @@ -18,8 +18,10 @@ #include "daemon.h" #include #include +#include #include #include +#include #include #include #include "command-line.h" diff --git a/lib/odp-util.h b/lib/odp-util.h index 6d67ec2cf..dc9a43db2 100644 --- a/lib/odp-util.h +++ b/lib/odp-util.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009 Nicira Networks. + * Copyright (c) 2009, 2010 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,6 +18,7 @@ #define ODP_UTIL_H 1 #include +#include #include #include "openflow/openflow.h" #include "openvswitch/datapath-protocol.h" diff --git a/lib/socket-util.c b/lib/socket-util.c index 4965b63af..3af74a48d 100644 --- a/lib/socket-util.c +++ b/lib/socket-util.c @@ -26,6 +26,8 @@ #include #include #include +#include +#include #include #include #include "fatal-signal.h" diff --git a/lib/stream-fd.c b/lib/stream-fd.c index 94c843409..cc897b3d9 100644 --- a/lib/stream-fd.c +++ b/lib/stream-fd.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009 Nicira Networks. + * Copyright (c) 2008, 2009, 2010 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include "fatal-signal.h" diff --git a/lib/stream-tcp.c b/lib/stream-tcp.c index a9bcaeb47..2f7e798a6 100644 --- a/lib/stream-tcp.c +++ b/lib/stream-tcp.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include "packets.h" #include "socket-util.h" diff --git a/lib/stream-unix.c b/lib/stream-unix.c index 33f566b37..930f54868 100644 --- a/lib/stream-unix.c +++ b/lib/stream-unix.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include diff --git a/ofproto/collectors.c b/ofproto/collectors.c index f0639836e..0b84c3ece 100644 --- a/ofproto/collectors.c +++ b/ofproto/collectors.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009 Nicira Networks. + * Copyright (c) 2008, 2009, 2010 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ #include #include +#include #include #include "socket-util.h" diff --git a/ovsdb/log.c b/ovsdb/log.c index ccb844fdb..09b9f1f7a 100644 --- a/ovsdb/log.c +++ b/ovsdb/log.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include "json.h"