From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 9F5C45A35 for ; Wed, 13 May 2015 14:01:10 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 13 May 2015 05:01:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,420,1427785200"; d="scan'208";a="694243100" Received: from unknown (HELO stargo) ([10.217.248.233]) by orsmga001.jf.intel.com with SMTP; 13 May 2015 05:01:06 -0700 Received: by stargo (sSMTP sendmail emulation); Wed, 13 May 2015 14:01:34 +0200 From: Pawel Wodkowski To: dev@dpdk.org Date: Wed, 13 May 2015 14:00:00 +0200 Message-Id: <1431518401-16315-2-git-send-email-pawelx.wodkowski@intel.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1431518401-16315-1-git-send-email-pawelx.wodkowski@intel.com> References: <1431429019-21130-1-git-send-email-pawelx.wodkowski@intel.com> <1431518401-16315-1-git-send-email-pawelx.wodkowski@intel.com> Subject: [dpdk-dev] [PATCH v2 1/2] cmdline: fix missing include files 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: Wed, 13 May 2015 12:01:11 -0000 When including only some of library headers some definitions are missing and build fails. Signed-off-by: Pawel Wodkowski --- lib/librte_cmdline/cmdline.h | 3 +++ lib/librte_cmdline/cmdline_parse_ipaddr.h | 2 ++ lib/librte_cmdline/cmdline_rdline.h | 1 + lib/librte_cmdline/cmdline_vt100.h | 2 ++ 4 files changed, 8 insertions(+) diff --git a/lib/librte_cmdline/cmdline.h b/lib/librte_cmdline/cmdline.h index 06ae086..9085ff6 100644 --- a/lib/librte_cmdline/cmdline.h +++ b/lib/librte_cmdline/cmdline.h @@ -61,6 +61,9 @@ #ifndef _CMDLINE_H_ #define _CMDLINE_H_ +#include +#include + #ifdef __cplusplus extern "C" { #endif diff --git a/lib/librte_cmdline/cmdline_parse_ipaddr.h b/lib/librte_cmdline/cmdline_parse_ipaddr.h index 296c374..46c6e1b 100644 --- a/lib/librte_cmdline/cmdline_parse_ipaddr.h +++ b/lib/librte_cmdline/cmdline_parse_ipaddr.h @@ -61,6 +61,8 @@ #ifndef _PARSE_IPADDR_H_ #define _PARSE_IPADDR_H_ +#include + #ifdef __cplusplus extern "C" { #endif diff --git a/lib/librte_cmdline/cmdline_rdline.h b/lib/librte_cmdline/cmdline_rdline.h index ae6e24e..b9aad9b 100644 --- a/lib/librte_cmdline/cmdline_rdline.h +++ b/lib/librte_cmdline/cmdline_rdline.h @@ -84,6 +84,7 @@ * instance. */ +#include #include #include diff --git a/lib/librte_cmdline/cmdline_vt100.h b/lib/librte_cmdline/cmdline_vt100.h index b9840f6..963add8 100644 --- a/lib/librte_cmdline/cmdline_vt100.h +++ b/lib/librte_cmdline/cmdline_vt100.h @@ -61,6 +61,8 @@ #ifndef _CMDLINE_VT100_H_ #define _CMDLINE_VT100_H_ +#include + #ifdef __cplusplus extern "C" { #endif -- 1.9.1