From: Marc Sune Date: Wed, 2 Mar 2016 23:52:02 +0000 (+0100) Subject: cmdline: fix missing include X-Git-Tag: spdx-start~7562 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ac78cb27a80852f337c92f5373ca778e67a85c40;p=dpdk.git cmdline: fix missing include cmdline_parse_*.h headers use struct cmdline_token_hdr / cmdline_parse_token_hdr_t which is defined in cmdline_parse.h, but do not include it, forcing manual inclusion. This commit includes cmdline_parse.h in all cmdline_parse_*.h. Signed-off-by: Marc Sune Acked-by: Olivier Matz --- diff --git a/lib/librte_cmdline/cmdline_parse_etheraddr.h b/lib/librte_cmdline/cmdline_parse_etheraddr.h index 0085bb3be4..e539fb665b 100644 --- a/lib/librte_cmdline/cmdline_parse_etheraddr.h +++ b/lib/librte_cmdline/cmdline_parse_etheraddr.h @@ -61,6 +61,8 @@ #ifndef _PARSE_ETHERADDR_H_ #define _PARSE_ETHERADDR_H_ +#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 46c6e1b86e..2b4266fd6b 100644 --- a/lib/librte_cmdline/cmdline_parse_ipaddr.h +++ b/lib/librte_cmdline/cmdline_parse_ipaddr.h @@ -61,6 +61,7 @@ #ifndef _PARSE_IPADDR_H_ #define _PARSE_IPADDR_H_ +#include #include #ifdef __cplusplus diff --git a/lib/librte_cmdline/cmdline_parse_num.h b/lib/librte_cmdline/cmdline_parse_num.h index 5376806f32..2558cbf078 100644 --- a/lib/librte_cmdline/cmdline_parse_num.h +++ b/lib/librte_cmdline/cmdline_parse_num.h @@ -61,6 +61,8 @@ #ifndef _PARSE_NUM_H_ #define _PARSE_NUM_H_ +#include + #ifdef __cplusplus extern "C" { #endif diff --git a/lib/librte_cmdline/cmdline_parse_portlist.h b/lib/librte_cmdline/cmdline_parse_portlist.h index 85050595bc..73d70e05ac 100644 --- a/lib/librte_cmdline/cmdline_parse_portlist.h +++ b/lib/librte_cmdline/cmdline_parse_portlist.h @@ -61,6 +61,8 @@ #ifndef _PARSE_PORTLIST_H_ #define _PARSE_PORTLIST_H_ +#include + #ifdef __cplusplus extern "C" { #endif diff --git a/lib/librte_cmdline/cmdline_parse_string.h b/lib/librte_cmdline/cmdline_parse_string.h index c20562263f..94aa1f1bc7 100644 --- a/lib/librte_cmdline/cmdline_parse_string.h +++ b/lib/librte_cmdline/cmdline_parse_string.h @@ -61,6 +61,8 @@ #ifndef _PARSE_STRING_H_ #define _PARSE_STRING_H_ +#include + #ifdef __cplusplus extern "C" { #endif