From: Stephen Hemminger Date: Fri, 8 Nov 2019 18:00:35 +0000 (-0800) Subject: cmdline: remove unnecessary #ifdef X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=08a234788ee548796fd6b394c7e897a2bf1df1b3;p=dpdk.git cmdline: remove unnecessary #ifdef The #ifdef to conditionally include on BSD is unnecessary. It is harmless to include the header on other OS's. An extra include is better than an #ifdef. Signed-off-by: Stephen Hemminger Acked-by: Bruce Richardson Acked-by: Olivier Matz --- diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 7d48feda96..809c94a895 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -11,9 +11,7 @@ #include #include #include -#ifdef RTE_EXEC_ENV_FREEBSD #include -#endif #include #include diff --git a/app/test/test_cmdline_ipaddr.c b/app/test/test_cmdline_ipaddr.c index 315ac3a9f8..088cd5afc3 100644 --- a/app/test/test_cmdline_ipaddr.c +++ b/app/test/test_cmdline_ipaddr.c @@ -6,9 +6,7 @@ #include #include #include -#ifdef RTE_EXEC_ENV_FREEBSD #include -#endif #include diff --git a/lib/librte_cmdline/cmdline_parse_ipaddr.c b/lib/librte_cmdline/cmdline_parse_ipaddr.c index 4de5ba35ae..f8dbdf204c 100644 --- a/lib/librte_cmdline/cmdline_parse_ipaddr.c +++ b/lib/librte_cmdline/cmdline_parse_ipaddr.c @@ -13,9 +13,7 @@ #include #include #include -#ifdef RTE_EXEC_ENV_FREEBSD #include -#endif #include