mem: improve musl compatibility
authorAnatoly Burakov <anatoly.burakov@intel.com>
Thu, 4 Oct 2018 10:20:37 +0000 (11:20 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 22 Oct 2018 09:29:37 +0000 (11:29 +0200)
commit3717943819676920c153a5ed35c9347152d8eb85
tree21d69c05f512b71284dc82dc8e4eb04f5e2e4a82
parent1c7fd81054c6e26dc6186e2a7b3bbff4341caddd
mem: improve musl compatibility

When built against musl, fcntl.h doesn't silently get included.
Fix by including it explicitly.

Bugzilla ID: 31

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_eal/common/eal_common_memory.c
lib/librte_eal/linuxapp/eal/eal_memory.c