Commit a58490de authored by Eric Engestrom's avatar Eric Engestrom 💤
Browse files

meson: detect alloca.h



amdgpu makes use of it
Signed-off-by: Eric Engestrom's avatarEric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Dylan Baker's avatarDylan Baker <dylan@pnwbakers.com>
parent 2bd461e3
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment