mirror of
https://github.com/clearml/dropbear
synced 2025-02-12 07:25:30 +00:00
move GNU_SOURCE earlier
This commit is contained in:
parent
1490c0c3a6
commit
a7a67585cb
@ -25,6 +25,8 @@
|
|||||||
#ifndef DROPBEAR_INCLUDES_H_
|
#ifndef DROPBEAR_INCLUDES_H_
|
||||||
#define DROPBEAR_INCLUDES_H_
|
#define DROPBEAR_INCLUDES_H_
|
||||||
|
|
||||||
|
/* uclibc needs _GNU_SOURCE, maybe other things? */
|
||||||
|
#define _GNU_SOURCE
|
||||||
|
|
||||||
#include "options.h"
|
#include "options.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
@ -125,8 +127,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_SYS_RANDOM_H
|
#ifdef HAVE_SYS_RANDOM_H
|
||||||
/* uclibc needs _GNU_SOURCE */
|
|
||||||
#define _GNU_SOURCE
|
|
||||||
#include <sys/random.h>
|
#include <sys/random.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user