From 9be16393a6a8eb6fee45e9ba4c6446ada509e5fd Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Thu, 30 Apr 2026 17:05:55 +0100 Subject: [PATCH] ddebug: Fix use of alloca() without #include "c99_alloca.h" Fixes: 6fe6c18c12ed ("util: add/use new os_mkdir() function") Signed-off-by: Jon Turney (cherry picked from commit 2b9e491b6789f60a7993cc9b74fe5ac7fa60c9c5) Part-of: --- .pick_status.json | 2 +- src/gallium/auxiliary/driver_ddebug/dd_draw.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pick_status.json b/.pick_status.json index a470f0e42fa..14f787ebe21 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -3274,7 +3274,7 @@ "description": "ddebug: Fix use of alloca() without #include \"c99_alloca.h\"", "nominated": true, "nomination_type": 2, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "6fe6c18c12ed7120418dc9b379198895842e4d7b", "notes": null diff --git a/src/gallium/auxiliary/driver_ddebug/dd_draw.c b/src/gallium/auxiliary/driver_ddebug/dd_draw.c index c329f8407c1..a846486e971 100644 --- a/src/gallium/auxiliary/driver_ddebug/dd_draw.c +++ b/src/gallium/auxiliary/driver_ddebug/dd_draw.c @@ -40,6 +40,7 @@ #include "util/os_time.h" #include #include "util/detect.h" +#include "c99_alloca.h" void dd_get_debug_filename_and_mkdir(char *buf, size_t buflen, bool verbose)