2014-11-19 14:43:07 +01:00
|
|
|
/*
|
|
|
|
* Public domain
|
|
|
|
* unistd.h compatibility shim
|
|
|
|
*/
|
|
|
|
|
2014-07-10 13:21:51 +02:00
|
|
|
#include_next <unistd.h>
|
|
|
|
|
|
|
|
#ifndef LIBCRYPTOCOMPAT_UNISTD_H
|
|
|
|
#define LIBCRYPTOCOMPAT_UNISTD_H
|
|
|
|
|
2014-10-29 21:44:36 +01:00
|
|
|
#ifndef HAVE_GETENTROPY
|
2014-07-10 13:21:51 +02:00
|
|
|
int getentropy(void *buf, size_t buflen);
|
2014-07-28 19:09:38 +02:00
|
|
|
#endif
|
|
|
|
|
2014-07-10 13:21:51 +02:00
|
|
|
#endif
|