cmdline: remove unnecessary #ifdef
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 8 Nov 2019 18:00:35 +0000 (10:00 -0800)
committerDavid Marchand <david.marchand@redhat.com>
Tue, 12 Nov 2019 17:35:17 +0000 (18:35 +0100)
commit08a234788ee548796fd6b394c7e897a2bf1df1b3
tree8015181cbd1b580e9e71bb1a8e0a1a6e6e0f9381
parent264a1598c543f52d63489ee663d91d161d44a7d3
cmdline: remove unnecessary #ifdef

The #ifdef to conditionally include <sys/socket.h> 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 <stephen@networkplumber.org>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
app/test-pmd/cmdline.c
app/test/test_cmdline_ipaddr.c
lib/librte_cmdline/cmdline_parse_ipaddr.c