diff options
-rw-r--r-- | meson.build | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meson.build b/meson.build index fa3ea62..cdbf8b5 100644 --- a/meson.build +++ b/meson.build @@ -195,6 +195,9 @@ i18n = import('i18n') add_project_arguments('-DCD_COMPILATION', language: 'c') +# Needed for realpath() and PATH_MAX +add_project_arguments('-D_XOPEN_SOURCE=500', language : 'c') + conf.set_quoted('SYSCONFDIR', get_option('sysconfdir')) conf.set_quoted('BINDIR', join_paths(get_option('prefix'), |