examples/ipsec-secgw: fix build on FreeBSD
authorDaniel Mrzyglod <danielx.t.mrzyglod@intel.com>
Thu, 31 Mar 2016 12:43:10 +0000 (14:43 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 31 Mar 2016 20:27:41 +0000 (22:27 +0200)
commit55d4c7756c5dd6fedc6327d08fae153a18d0f5a6
tree542cff8706ff65ad196fb3a66decabfce6627d58
parent41e97c2ea9e6027bd9338e0587fed6cd2e2c1af9
examples/ipsec-secgw: fix build on FreeBSD

In FreeBSD, sys/types.h and netinet/in.h need to be included before
netinet/ip.h

There were missed typedef for u_char - <sys/types.h>
There were missed network definitions - <netinet/in.h>

Failure #13: http://dpdk.org/ml/archives/test-report/2016-March/001896.html

Fixes: d299106e8e31 ("examples/ipsec-secgw: add IPsec sample application")

Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com>
Acked-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
examples/ipsec-secgw/esp.c
examples/ipsec-secgw/ipsec-secgw.c
examples/ipsec-secgw/ipsec.c
examples/ipsec-secgw/ipsec.h
examples/ipsec-secgw/rt.c
examples/ipsec-secgw/sa.c
examples/ipsec-secgw/sp.c