eal: improve musl compatibility of string functions
authorAnatoly Burakov <anatoly.burakov@intel.com>
Thu, 4 Oct 2018 10:20:38 +0000 (11:20 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 22 Oct 2018 10:40:14 +0000 (12:40 +0200)
commit0601defe2efd1bd8a165e9b0c170b05842aa74fc
treecf4c5f893b5502e92bb269cb580f8ebd7c0b663e
parent3717943819676920c153a5ed35c9347152d8eb85
eal: improve musl compatibility of string functions

Musl wraps various string functions such as strlcpy in order to
harden them. However, the fortify wrappers are included without
including the actual string functions being wrapped, which
throws missing definition compile errors. Fix by including
string.h in string functions header.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_eal/common/include/rte_string_fns.h