blob: dec5e355a43947a0133087a9ef2fcd1181b0da99 [file] [log] [blame]
#ifndef UTIL_LINUX_RANDUTILS
#define UTIL_LINUX_RANDUTILS
#ifdef HAVE_SRANDOM
#define srand(x) srandom(x)
#define rand() random()
#endif
extern int random_get_fd(void);
extern void random_get_bytes(void *buf, size_t nbytes);
#endif