From b7d98b2d42e8a715230166367d8489b17fbc9498 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Thu, 25 Jun 2009 17:12:48 +0200 Subject: Fix dropbear compilation with glibc The patch introduced at c579e32dbe6d927bdcfffeede18123aa92abbdd5 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 --- package/dropbear/dropbear-fix-missing-TIMEVAL_TO_TIMESPEC.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/dropbear') diff --git a/package/dropbear/dropbear-fix-missing-TIMEVAL_TO_TIMESPEC.patch b/package/dropbear/dropbear-fix-missing-TIMEVAL_TO_TIMESPEC.patch index 37c457411..80606844c 100644 --- a/package/dropbear/dropbear-fix-missing-TIMEVAL_TO_TIMESPEC.patch +++ b/package/dropbear/dropbear-fix-missing-TIMEVAL_TO_TIMESPEC.patch @@ -5,7 +5,7 @@ diff -ur dropbear-0.48/includes.h dropbear-0.48-patched/includes.h #include /* required for BSD4_4 define */ #include #include -+#define __USE_GNU ++#define _GNU_SOURCE #include #include #include -- cgit v1.2.3