Make the Meson build work on older compilers

Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie
2019-05-02 15:52:13 +01:00
parent 744bd1824f
commit 738ee7ace3

View File

@@ -1,6 +1,8 @@
project('libglnx', 'c')
add_project_arguments('-D_GNU_SOURCE', language: 'c')
add_project_arguments('-std=gnu99', language: 'c')
add_project_arguments('-Wno-unused-local-typedefs', language: 'c')
cc = meson.get_compiler('c')