From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 94F6F6931 for ; Thu, 31 Mar 2016 14:43:17 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 31 Mar 2016 05:43:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,422,1455004800"; d="scan'208";a="948773940" Received: from unknown ([10.217.248.155]) by fmsmga002.fm.intel.com with SMTP; 31 Mar 2016 05:43:14 -0700 Received: by (sSMTP sendmail emulation); Thu, 31 Mar 2016 14:43:13 +0200 From: Daniel Mrzyglod To: dev@dpdk.org Cc: sergio.gonzalez.monroy@intel.com Date: Thu, 31 Mar 2016 14:43:10 +0200 Message-Id: <1459428190-10256-1-git-send-email-danielx.t.mrzyglod@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1459415578-3692-1-git-send-email-danielx.t.mrzyglod@intel.com> References: <1459415578-3692-1-git-send-email-danielx.t.mrzyglod@intel.com> Subject: [dpdk-dev] [PATCH v2] examples/ipsec-secgw: fix missed headers for FreeBSD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2016 12:43:18 -0000 In FreeBSD, sys/types.h and netinet/in.h need to be included before netinet/ip.h There were misssed typedef for u_char - There were missed network definitions - 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 --- examples/ipsec-secgw/esp.c | 3 ++- examples/ipsec-secgw/ipsec-secgw.c | 2 ++ examples/ipsec-secgw/ipsec.c | 2 +- examples/ipsec-secgw/ipsec.h | 2 -- examples/ipsec-secgw/rt.c | 1 + examples/ipsec-secgw/sa.c | 2 ++ examples/ipsec-secgw/sp.c | 2 ++ 7 files changed, 10 insertions(+), 4 deletions(-) diff --git a/examples/ipsec-secgw/esp.c b/examples/ipsec-secgw/esp.c index ca0fc56..1927380 100644 --- a/examples/ipsec-secgw/esp.c +++ b/examples/ipsec-secgw/esp.c @@ -33,9 +33,10 @@ #include #include -#include #include #include +#include +#include #include #include diff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ipsec-secgw.c index d6c9a5d..1d6c81b 100644 --- a/examples/ipsec-secgw/ipsec-secgw.c +++ b/examples/ipsec-secgw/ipsec-secgw.c @@ -36,6 +36,8 @@ #include #include #include +#include +#include #include #include #include diff --git a/examples/ipsec-secgw/ipsec.c b/examples/ipsec-secgw/ipsec.c index d385100..baf30d4 100644 --- a/examples/ipsec-secgw/ipsec.c +++ b/examples/ipsec-secgw/ipsec.c @@ -30,7 +30,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ - +#include #include #include diff --git a/examples/ipsec-secgw/ipsec.h b/examples/ipsec-secgw/ipsec.h index 8eb4e76..a13fdef 100644 --- a/examples/ipsec-secgw/ipsec.h +++ b/examples/ipsec-secgw/ipsec.h @@ -35,8 +35,6 @@ #define __IPSEC_H__ #include -#include -#include #include #include diff --git a/examples/ipsec-secgw/rt.c b/examples/ipsec-secgw/rt.c index c3bb4de..a6d0866 100644 --- a/examples/ipsec-secgw/rt.c +++ b/examples/ipsec-secgw/rt.c @@ -34,6 +34,7 @@ /* * Routing Table (RT) */ +#include #include #include diff --git a/examples/ipsec-secgw/sa.c b/examples/ipsec-secgw/sa.c index 91a5f6e..a5b8a63 100644 --- a/examples/ipsec-secgw/sa.c +++ b/examples/ipsec-secgw/sa.c @@ -34,6 +34,8 @@ /* * Security Associations */ +#include +#include #include #include diff --git a/examples/ipsec-secgw/sp.c b/examples/ipsec-secgw/sp.c index 7972f40..4f16730 100644 --- a/examples/ipsec-secgw/sp.c +++ b/examples/ipsec-secgw/sp.c @@ -34,6 +34,8 @@ /* * Security Policies */ +#include +#include #include #include -- 2.5.5