summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index aaa8cf6..f8089e4 100644
--- a/meson.build
+++ b/meson.build
@@ -1,4 +1,5 @@
-project('pnc', 'c')
+project('pnc', 'c', default_options : ['c_std=c11'])
+add_project_arguments('-D_DEFAULT_SOURCE', language : 'c')
cc = meson.get_compiler('c')
ubox_dep = cc.find_library('ubox')