From 2170b918345d833ac95d2551bea7065d5b4d1a36 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 10 Feb 2026 09:13:19 +0100 Subject: [PATCH] ft: Fix build issue with missing alloca.h include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CC src/ft.o src/ft.c: In function ‘ft_prepare_handshake’: src/ft.c:846:16: error: implicit declaration of function ‘alloca’; did you mean ‘calloc’? [-Wimplicit-function-declaration] 846 | rsne = alloca(256); | ^~~~~~ | calloc src/ft.c:846:14: error: assignment to ‘uint8_t *’ {aka ‘unsigned char *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 846 | rsne = alloca(256); | ^ src/ft.c:887:13: error: assignment to ‘uint8_t *’ {aka ‘unsigned char *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 887 | fte = alloca(256); | ^ --- src/ft.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ft.c b/src/ft.c index 0d6be4d4..c646ef8a 100644 --- a/src/ft.c +++ b/src/ft.c @@ -24,6 +24,7 @@ #include #endif +#include #include #include "src/ie.h"