2014-07-10 13:21:51 +02:00
|
|
|
#include_next <stdlib.h>
|
|
|
|
|
|
|
|
#ifndef LIBCRYPTOCOMPAT_STDLIB_H
|
|
|
|
#define LIBCRYPTOCOMPAT_STDLIB_H
|
|
|
|
|
|
|
|
#include <sys/stat.h>
|
|
|
|
#include <sys/time.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2014-07-28 19:09:38 +02:00
|
|
|
#ifdef NO_ARC4RANDOM_BUF
|
2014-07-10 13:21:51 +02:00
|
|
|
uint32_t arc4random(void);
|
|
|
|
void arc4random_buf(void *_buf, size_t n);
|
2014-07-28 19:09:38 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef NO_REALLOCARRAY
|
2014-07-10 13:21:51 +02:00
|
|
|
void *reallocarray(void *, size_t, size_t);
|
2014-07-28 19:09:38 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef NO_STRTONUM
|
2014-07-10 13:21:51 +02:00
|
|
|
long long strtonum(const char *nptr, long long minval,
|
|
|
|
long long maxval, const char **errstr);
|
2014-07-28 19:09:38 +02:00
|
|
|
#endif
|
2014-07-10 13:21:51 +02:00
|
|
|
|
|
|
|
#endif
|