ddebug: Fix use of alloca() without #include "c99_alloca.h"

Fixes: 6fe6c18c12 ("util: add/use new os_mkdir() function")
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
(cherry picked from commit 2b9e491b67)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>
This commit is contained in:
Jon Turney 2026-04-30 17:05:55 +01:00 committed by Eric Engestrom
parent 0cf06034da
commit 9be16393a6
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -40,6 +40,7 @@
#include "util/os_time.h"
#include <inttypes.h>
#include "util/detect.h"
#include "c99_alloca.h"
void
dd_get_debug_filename_and_mkdir(char *buf, size_t buflen, bool verbose)