diff options
author | Björn Esser <besser82@fedoraproject.org> | 2018-01-25 15:30:15 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-05-30 07:50:18 +0200 |
commit | b078358417e2e124c3aca44c74390bc66ef2b189 (patch) | |
tree | a270d1b7aef2efb426ed9db5b9070e3da2cec9d0 | |
parent | 4d84b5748fcfc3c1b70d7fd469ae75769f393385 (diff) |
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.
-rw-r--r-- | meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 86049b0d1..4331af1fd 100644 --- a/meson.build +++ b/meson.build @@ -665,7 +665,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', |