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')