[PATCH v10 01/21] eal: include header required for alloca
Stephen Hemminger
stephen at networkplumber.org
Wed Nov 20 18:12:15 CET 2024
On Tue, 19 Nov 2024 19:13:01 -0800
Andre Muezerie <andremue at linux.microsoft.com> wrote:
> From: Tyler Retzlaff <roretzla at linux.microsoft.com>
>
> Include alloca.h for Linux and malloc.h for Windows to get declaration
> of alloca().
>
> Signed-off-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
> ---
> lib/eal/linux/include/rte_os.h | 1 +
> lib/eal/windows/include/rte_os.h | 1 +
> 2 files changed, 2 insertions(+)
What about FreeBSD?
https://man.freebsd.org/cgi/man.cgi?alloca
Looks like to be pedantic stdlib.h should be included there.
More information about the dev
mailing list