summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 246196b..c4556be 100644
--- a/meson.build
+++ b/meson.build
@@ -32,6 +32,7 @@ common_flags = [
'-Wunused-result',
]
add_project_arguments(cc.get_supported_arguments(common_flags), language: 'c')
+add_project_arguments('-D_GNU_SOURCE', language: 'c')
subdir('lib')
subdir('src')