From: Ben Pfaff Date: Wed, 26 May 2010 17:37:39 +0000 (-0700) Subject: Add some missing "#include"s. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3762274e6359f4afe04107851f4c71347fa0afa0;p=openvswitch 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 78f88a0f..59628f23 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 6d67ec2c..dc9a43db 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 4965b63a..3af74a48 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 94c84340..cc897b3d 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 a9bcaeb4..2f7e798a 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 33f566b3..930f5486 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 f0639836..0b84c3ec 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 ccb844fd..09b9f1f7 100644 --- a/ovsdb/log.c +++ b/ovsdb/log.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include "json.h"