From 6dd5eb4abf26a7251f70b4e6ab2edf3cf11561e2 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 ab8f2c950a7..20a18b79ee3 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -4,7 +4,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 2efab030a5f..36bf5b03da0 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)