numam-dpdk/doc/api
Thomas Monjalon e0473c6d5b eal: fix build with musl
In musl libc, cpu_set_t is defined only if _GNU_SOURCE is defined.
In case _GNU_SOURCE is undefined, as in eal_common_errno.c,
it was not possible to include rte_os.h which uses cpu_set_t.

This limitation is removed: if CPU_SETSIZE is not defined,
cpu_set_t related definitions and functions are skipped.
Note: such definitions are unneeded in eal_common_errno.c.

Applications which do not define _GNU_SOURCE may miss cpu_set_t related
features on musl. Such case is detected by RTE_HAS_CPUSET being undefined,
so functions which depend on rte_cpuset_t will be unavailable.

A missing include of fcntl.h is also added.

Bugzilla ID: 35
Fixes: 11b57c6980 ("eal: fix error string function")
Fixes: 176bb37ca6 ("eal: introduce internal wrappers for file operations")
Cc: stable@dpdk.org

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Acked-by: David Marchand <david.marchand@redhat.com>
2021-03-23 08:41:05 +01:00
..
doxy-api-index.md doc: update power management in doxygen API index 2021-03-17 12:19:23 +01:00
doxy-api.conf.in eal: fix build with musl 2021-03-23 08:41:05 +01:00
doxy-html-custom.sh use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
generate_doxygen.sh doc: put doxygen log file in build directory 2020-09-30 15:33:32 +02:00
generate_examples.sh doc: add dependency on examples for API doxygen 2020-02-15 17:50:41 +01:00
meson.build doc: add doxygen index file to dependencies 2020-10-06 00:27:04 +02:00