summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorBjörn Esser <besser82@fedoraproject.org>2018-01-25 15:30:15 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-01-25 17:30:15 +0300
commit9f555bba6740a99967f263d49282520cb74416ce (patch)
tree192630d4408dae2cc6e9b291e70044244579886d /meson.build
parent16c73c765da70619b40709f0c52a868b77d2c035 (diff)
downloadsystemd-9f555bba6740a99967f263d49282520cb74416ce.tar.gz
firstboot: Include <crypt.h> for declaration of crypt() if needed (#7944)
Not every target system may provide a crypt() function in its stdlibc and may use an external or replacement library, like libxcrypt, for providing such functions. See https://fedoraproject.org/wiki/Changes/Replace_glibc_libcrypt_with_libxcrypt.
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 2e3898b3b1..fdf26f9aab 100644
--- a/meson.build
+++ b/meson.build
@@ -589,7 +589,8 @@ conf.set('GPERF_LEN_TYPE', gperf_len_type,
if not cc.has_header('sys/capability.h')
error('POSIX caps headers not found')
endif
-foreach header : ['linux/btrfs.h',
+foreach header : ['crypt.h',
+ 'linux/btrfs.h',
'linux/memfd.h',
'linux/vm_sockets.h',
'sys/auxv.h',