random: Fix possible AIX problem with sysconf in rndunix.
authorWerner Koch <wk@gnupg.org>
Fri, 15 Jan 2016 15:01:35 +0000 (16:01 +0100)
committerWerner Koch <wk@gnupg.org>
Fri, 15 Jan 2016 15:01:35 +0000 (16:01 +0100)
commit6303b0e83856ee89374b447e710f0ab2af61caec
treed96ade40ab4d748a37948951d7729d262335085e
parent5a78e7f15e0dd96a8bf64e2bb142880bf8ea6965
random: Fix possible AIX problem with sysconf in rndunix.

* random/rndunix.c [HAVE_STDINT_H]: Include stdint.h.
(start_gatherer): Detect misbehaving sysconf.
--

See
GnuPG-bug-id: 1778
for the reason of this patch. There is no concrete bug report but this
change should not harm.

Signed-off-by: Werner Koch <wk@gnupg.org>
random/rndunix.c