From: Ben Pfaff Date: Wed, 26 May 2010 17:05:19 +0000 (-0700) Subject: Always #include before . X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d82ec478d52edfddd215dff1b0659ed7508b365;p=openvswitch Always #include before . FreeBSD 8.0's requires to be included first, even though I don't see any such requirement in POSIX. --- diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 2f4463e6..c4cc6e98 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include diff --git a/ofproto/discovery.c b/ofproto/discovery.c index 2044ea5e..b875890a 100644 --- a/ofproto/discovery.c +++ b/ofproto/discovery.c @@ -18,6 +18,7 @@ #include "discovery.h" #include #include +#include #include #include #include diff --git a/ofproto/in-band.c b/ofproto/in-band.c index e52a0a05..884cf1d2 100644 --- a/ofproto/in-band.c +++ b/ofproto/in-band.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 10109483..069d5e51 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -19,6 +19,7 @@ #include "ofproto.h" #include #include +#include #include #include #include diff --git a/utilities/ovs-dpctl.c b/utilities/ovs-dpctl.c index ecfb3069..df76e86e 100644 --- a/utilities/ovs-dpctl.c +++ b/utilities/ovs-dpctl.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/utilities/ovs-ofctl.c b/utilities/ovs-ofctl.c index 1a0c9363..96d64b3b 100644 --- a/utilities/ovs-ofctl.c +++ b/utilities/ovs-ofctl.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index 04898f88..8314c539 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include