
Simplify autoconf checks by using AC_CHECK_FUNCS/HEADERS. Clarify some ambiguous dependencies around strnlen/strndup. Unconditionally enable pidwraptest for all arc4random implementations. Remove HAVE_VASPRINTF conditional, since asprintf requires vasprintf. ok @doug
15 lines
226 B
C
15 lines
226 B
C
#include_next <unistd.h>
|
|
|
|
#ifndef LIBCRYPTOCOMPAT_UNISTD_H
|
|
#define LIBCRYPTOCOMPAT_UNISTD_H
|
|
|
|
#ifndef HAVE_GETENTROPY
|
|
int getentropy(void *buf, size_t buflen);
|
|
#endif
|
|
|
|
#ifndef HAVE_ISSETUGID
|
|
int issetugid(void);
|
|
#endif
|
|
|
|
#endif
|