From: Pawel Wodkowski Date: Wed, 13 May 2015 12:00:00 +0000 (+0200) Subject: cmdline: fix missing includes X-Git-Tag: spdx-start~9185 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d69447f916463f4336add38416b4a25437346754;p=dpdk.git cmdline: fix missing includes When including only some of library headers some definitions are missing and build fails. Signed-off-by: Pawel Wodkowski Acked-by: Cristian Dumitrescu Acked-by: Olivier Matz --- diff --git a/lib/librte_cmdline/cmdline.h b/lib/librte_cmdline/cmdline.h index 06ae086686..9085ff6955 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 296c374a15..46c6e1b86e 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 ae6e24e8d2..b9aad9bd28 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 b9840f6c29..963add8df9 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