26 lines
572 B
Diff
26 lines
572 B
Diff
--- openbsd-compat/openbsd-compat.h.orig
|
|
+++ openbsd-compat/openbsd-compat.h
|
|
@@ -201,22 +201,11 @@
|
|
int getpeereid(int , uid_t *, gid_t *);
|
|
#endif
|
|
|
|
-#ifdef HAVE_ARC4RANDOM
|
|
-# ifndef HAVE_ARC4RANDOM_STIR
|
|
-# define arc4random_stir()
|
|
-# endif
|
|
-#else
|
|
unsigned int arc4random(void);
|
|
-void arc4random_stir(void);
|
|
-#endif /* !HAVE_ARC4RANDOM */
|
|
|
|
-#ifndef HAVE_ARC4RANDOM_BUF
|
|
void arc4random_buf(void *, size_t);
|
|
-#endif
|
|
|
|
-#ifndef HAVE_ARC4RANDOM_UNIFORM
|
|
u_int32_t arc4random_uniform(u_int32_t);
|
|
-#endif
|
|
|
|
#ifndef HAVE_ASPRINTF
|
|
int asprintf(char **, const char *, ...);
|