b7d98b2d42
The patch introduced at c579e32dbe
was
incorrect, since __USE_GNU is an internal C library defined, and
should not be used by programs. _GNU_SOURCE should be used instead.
This fixes a build failure on Dropbear when compiling against a
glibc-based toolchain.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 lines
416 B
Diff
12 lines
416 B
Diff
diff -ur dropbear-0.48/includes.h dropbear-0.48-patched/includes.h
|
|
--- dropbear-0.48/includes.h 2006-03-09 09:06:02.000000000 -0600
|
|
+++ dropbear-0.48-patched/includes.h 2006-03-15 22:36:12.000000000 -0600
|
|
@@ -35,6 +35,7 @@
|
|
#include <sys/param.h> /* required for BSD4_4 define */
|
|
#include <sys/socket.h>
|
|
#include <sys/stat.h>
|
|
+#define _GNU_SOURCE
|
|
#include <sys/time.h>
|
|
#include <sys/un.h>
|
|
#include <sys/wait.h>
|