summaryrefslogtreecommitdiffhomepage
path: root/includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes.h')
-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