From 601bd7296fa464fe146f57c4ea89e3cad06749e9 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Mon, 9 Oct 2017 14:22:07 -0700 Subject: [PATCH] meson: Set _GNU_SOURCE When we start adding non-free software platforms support we'll need to guard this, but for now it should be fine as is. Signed-off-by: Dylan Baker Reviewed-by: Eric Anholt --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 2f73215ca52..e68469262bf 100644 --- a/meson.build +++ b/meson.build @@ -31,6 +31,7 @@ pre_args = [ '-DVERSION="@0@"'.format(meson.project_version()), '-DPACKAGE_VERSION=VERSION', '-DPACKAGE_BUGREPORT="https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa"', + '-D_GNU_SOURCE', ] with_vulkan_icd_dir = get_option('vulkan-icd-dir') -- 2.30.2