spa/plugins: include <stdlib.h> for alloca() on non-linux

This commit is contained in:
Siva Mahadevan 2026-03-11 20:10:34 -04:00 committed by Wim Taymans
parent 357f27658e
commit 0393fd8a72
4 changed files with 11 additions and 3 deletions

View file

@ -10,7 +10,9 @@
#include <time.h>
#include <stdbool.h>
#include <getopt.h>
#ifdef __linux__
#include <alloca.h>
#endif
#include <spa/debug/context.h>
#include <spa/utils/string.h>