On Tue, 19 Nov 2024 19:13:01 -0800
Andre Muezerie <[email protected]> wrote:

> From: Tyler Retzlaff <[email protected]>
> 
> Include alloca.h for Linux and malloc.h for Windows to get declaration
> of alloca().
> 
> Signed-off-by: Tyler Retzlaff <[email protected]>
> ---
>  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