summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2020-10-12 20:32:25 +0200
committerDave Davenport <qball@gmpclient.org>2020-10-12 20:32:25 +0200
commit585538b42882ce8e8217a56f6b4dd05c0a0b68ff (patch)
treec0ab930681e45713425c0efd3c76a4f055899555 /meson.build
parent519d4d281826aedc8b2f6048a8f7cc0f154a0ec7 (diff)
Try fixing build on meson of readdir dirent args.
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 fef61f99..d220b030 100644
--- a/meson.build
+++ b/meson.build
@@ -12,6 +12,7 @@ c_compiler = meson.get_compiler('c')
add_project_arguments(
'-I@0@'.format(meson.build_root()),
'-I@0@'.format(join_paths(meson.source_root(), 'include')),
+ '-D_DEFAULT_SOURCE=1',
language: 'c'
)