From: Eric Engestrom Date: Tue, 13 Mar 2018 14:31:29 +0000 (+0000) Subject: meson: detect alloca.h X-Git-Tag: libdrm-2.4.92~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a58490de0d8ae5c290d2db6e59fc44edc829d9c6;p=platform%2Fupstream%2Flibdrm.git meson: detect alloca.h amdgpu makes use of it Signed-off-by: Eric Engestrom Reviewed-by: Dylan Baker --- diff --git a/meson.build b/meson.build index b85f1d7..2a6c468 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