diff options
author | Matt Johnston <matt@ucc.asn.au> | 2020-06-23 21:38:46 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2020-06-23 21:38:46 +0800 |
commit | 3f5c106a880a02b21739f2022746e6aa7672474c (patch) | |
tree | e0ffa9606f0c4aa16d87452970e6881303aca001 /includes.h | |
parent | 10e119f638b3f5f1b9b7e3e3df8a011f2671c6d2 (diff) |
_GNU_SOURCE for random
Diffstat (limited to 'includes.h')
-rw-r--r-- | includes.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -125,6 +125,8 @@ #endif #ifdef HAVE_SYS_RANDOM_H +/* uclibc needs _GNU_SOURCE */ +#define _GNU_SOURCE #include <sys/random.h> #endif |