summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index d11a754..8b005da 100644
--- a/meson.build
+++ b/meson.build
@@ -13,6 +13,8 @@ project(
cc = meson.get_compiler('c')
+add_project_arguments('-D_POSIX_C_SOURCE=200809L', language: 'c')
+
add_project_arguments(cc.get_supported_arguments([
'-Wno-unused-parameter',
'-Wno-unused-result',