diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-04-19 16:13:27 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-04-21 12:05:55 -0400 |
commit | 5224c2c7068ea538d2523ad033172450ccac147d (patch) | |
tree | 5e58e871bbc885c1ac21c05cd1453478612e27a3 /src/shared/switch-root.c | |
parent | d1c536f5028bd924ba3c9b0ad10ba5b681b11ab6 (diff) |
basic/random-util: add new header for getrandom()
There's some confusion: older man pages specify that linux/random.h
contains getrandom, but newer glibc has it in sys/random.h. Detect if
the newer header is available and include it. We still need the older
header for the flags.
Diffstat (limited to 'src/shared/switch-root.c')
0 files changed, 0 insertions, 0 deletions