diff options
Diffstat (limited to 'includes.h')
-rw-r--r-- | includes.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -25,6 +25,8 @@ #ifndef DROPBEAR_INCLUDES_H_ #define DROPBEAR_INCLUDES_H_ +/* uclibc needs _GNU_SOURCE, maybe other things? */ +#define _GNU_SOURCE #include "options.h" #include "debug.h" @@ -124,6 +126,10 @@ #include <sys/uio.h> #endif +#ifdef HAVE_SYS_RANDOM_H +#include <sys/random.h> +#endif + #ifdef BUNDLED_LIBTOM #include "libtomcrypt/src/headers/tomcrypt.h" #include "libtommath/tommath.h" @@ -164,6 +170,10 @@ typedef u_int32_t uint32_t; #include <linux/pkt_sched.h> #endif +#if DROPBEAR_PLUGIN +#include <dlfcn.h> +#endif + #include "fake-rfc2553.h" #include "fuzz.h" |