On Tue, 19 Nov 2024 19:13:01 -0800
Andre Muezerie <andre...@linux.microsoft.com> wrote:

> From: Tyler Retzlaff <roret...@linux.microsoft.com>
> 
> Include alloca.h for Linux and malloc.h for Windows to get declaration
> of alloca().
> 
> Signed-off-by: Tyler Retzlaff <roret...@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.

Reply via email to