From a58490de0d8ae5c290d2db6e59fc44edc829d9c6 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Tue, 13 Mar 2018 14:31:29 +0000 Subject: [PATCH] meson: detect alloca.h amdgpu makes use of it Signed-off-by: Eric Engestrom Reviewed-by: Dylan Baker --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index b85f1d7a..2a6c4680 100644 --- a/meson.build +++ b/meson.build @@ -186,7 +186,7 @@ else dep_rt = [] endif dep_m = cc.find_library('m', required : false) -foreach header : ['sys/sysctl.h', 'sys/select.h'] +foreach header : ['sys/sysctl.h', 'sys/select.h', 'alloca.h'] if cc.compiles('#include <@0@>'.format(header), name : '@0@ works'.format(header)) config.set10('HAVE_' + header.underscorify().to_upper(), true) endif