diff mbox

[01/17] vl.c: Remove double include of netinet/in.h for Solaris

Message ID 1275667755-4821-2-git-send-email-Jes.Sorensen@redhat.com
State New
Headers show

Commit Message

Jes Sorensen June 4, 2010, 4:08 p.m. UTC
From: Jes Sorensen <Jes.Sorensen@redhat.com>

vl.c: netinet/in.h is already included once above for in the generic
POSIX section.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
---
 vl.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Comments

Andreas Färber June 6, 2010, 11:13 a.m. UTC | #1
Am 04.06.2010 um 18:08 schrieb Jes.Sorensen@redhat.com:

> From: Jes Sorensen <Jes.Sorensen@redhat.com>
>
> vl.c: netinet/in.h is already included once above for in the generic
> POSIX section.
>
> Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>

Acked-by: Andreas Faerber <afaerber@opensolaris.org>

> ---
> vl.c |    1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/vl.c b/vl.c
> index 417554f..7c4298a 100644
> --- a/vl.c
> +++ b/vl.c
> @@ -70,7 +70,6 @@
> #include <sys/ethernet.h>
> #include <sys/sockio.h>
> #include <netinet/arp.h>
> -#include <netinet/in.h>
> #include <netinet/in_systm.h>
> #include <netinet/ip.h>
> #include <netinet/ip_icmp.h> // must come after ip.h
> -- 
> 1.6.5.2
diff mbox

Patch

diff --git a/vl.c b/vl.c
index 417554f..7c4298a 100644
--- a/vl.c
+++ b/vl.c
@@ -70,7 +70,6 @@ 
 #include <sys/ethernet.h>
 #include <sys/sockio.h>
 #include <netinet/arp.h>
-#include <netinet/in.h>
 #include <netinet/in_systm.h>
 #include <netinet/ip.h>
 #include <netinet/ip_icmp.h> // must come after ip.h