aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index b9994c11..8a072dcf 100644
--- a/meson.build
+++ b/meson.build
@@ -25,6 +25,12 @@ if cc.has_function('execvpe',
add_project_arguments('-DEXECVPE', language: 'c')
endif
+if cc.has_function('sigabbrev_np',
+ args: ['-D_GNU_SOURCE'],
+ prefix: '#include <string.h>')
+ add_project_arguments('-DSIGABBREV_NP', language: 'c')
+endif
+
utmp_backend = get_option('utmp-backend')
if utmp_backend == 'auto'
host_os = host_machine.system()