Mercurial > dropbear
comparison includes.h @ 1724:ca75bb513359
_GNU_SOURCE for random
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 23 Jun 2020 21:38:46 +0800 |
parents | f966834f0f9c |
children | 57f85129670f |
comparison
equal
deleted
inserted
replaced
1723:5386011b740d | 1724:ca75bb513359 |
---|---|
123 #ifdef HAVE_SYS_UIO_H | 123 #ifdef HAVE_SYS_UIO_H |
124 #include <sys/uio.h> | 124 #include <sys/uio.h> |
125 #endif | 125 #endif |
126 | 126 |
127 #ifdef HAVE_SYS_RANDOM_H | 127 #ifdef HAVE_SYS_RANDOM_H |
128 /* uclibc needs _GNU_SOURCE */ | |
129 #define _GNU_SOURCE | |
128 #include <sys/random.h> | 130 #include <sys/random.h> |
129 #endif | 131 #endif |
130 | 132 |
131 #ifdef BUNDLED_LIBTOM | 133 #ifdef BUNDLED_LIBTOM |
132 #include "libtomcrypt/src/headers/tomcrypt.h" | 134 #include "libtomcrypt/src/headers/tomcrypt.h" |