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 E3EE4568B for ; Tue, 12 May 2015 13:16:57 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 12 May 2015 04:16:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,414,1427785200"; d="scan'208";a="727817920" Received: from unknown (HELO stargo) ([10.217.248.233]) by orsmga002.jf.intel.com with SMTP; 12 May 2015 04:16:44 -0700 Received: by stargo (sSMTP sendmail emulation); Tue, 12 May 2015 13:10:50 +0200 From: "Pawel Wodkowski" To: dev@dpdk.org Date: Tue, 12 May 2015 13:10:18 +0200 Message-Id: <1431429019-21130-2-git-send-email-pawelx.wodkowski@intel.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1431429019-21130-1-git-send-email-pawelx.wodkowski@intel.com> References: <1431429019-21130-1-git-send-email-pawelx.wodkowski@intel.com> X-Mailman-Approved-At: Tue, 12 May 2015 14:06:14 +0200 Subject: [dpdk-dev] [PATCH 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: Tue, 12 May 2015 11:16:58 -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_rdline.h | 1 + lib/librte_cmdline/cmdline_vt100.h | 2 ++ 3 files changed, 6 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_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