diff options
author | Matt Johnston <matt@ucc.asn.au> | 2020-06-23 22:24:58 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2020-06-23 22:24:58 +0800 |
commit | a7a67585cbc3fe5df85c641618b347a51a943356 (patch) | |
tree | b98f17cca047dc994e129b73e8a8282ed684717e /includes.h | |
parent | 1490c0c3a6eddfa0bace7729bad87f34c10399c6 (diff) |
move GNU_SOURCE earlier
Diffstat (limited to 'includes.h')
-rw-r--r-- | includes.h | 4 |
1 files changed, 2 insertions, 2 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" @@ -125,8 +127,6 @@ #endif #ifdef HAVE_SYS_RANDOM_H -/* uclibc needs _GNU_SOURCE */ -#define _GNU_SOURCE #include <sys/random.h> #endif |