summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2020-06-23 21:38:46 +0800
committerMatt Johnston <matt@ucc.asn.au>2020-06-23 21:38:46 +0800
commit3f5c106a880a02b21739f2022746e6aa7672474c (patch)
treee0ffa9606f0c4aa16d87452970e6881303aca001
parent10e119f638b3f5f1b9b7e3e3df8a011f2671c6d2 (diff)
downloaddropbear-3f5c106a880a02b21739f2022746e6aa7672474c.tar.gz
_GNU_SOURCE for random
-rw-r--r--includes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes.h b/includes.h
index e8c3e18..2789f23 100644
--- a/includes.h
+++ b/includes.h
@@ -125,6 +125,8 @@
#endif
#ifdef HAVE_SYS_RANDOM_H
+/* uclibc needs _GNU_SOURCE */
+#define _GNU_SOURCE
#include <sys/random.h>
#endif