Fix dropbear compilation with glibc
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 25 Jun 2009 15:12:48 +0000 (17:12 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 1 Jul 2009 12:20:51 +0000 (14:20 +0200)
commitb7d98b2d42e8a715230166367d8489b17fbc9498
tree43970518367be34a492e981dbae00008db318687
parente61606ad39735000e66b6048d9be1b9d27c36bd0
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 <thomas.petazzoni@free-electrons.com>
package/dropbear/dropbear-fix-missing-TIMEVAL_TO_TIMESPEC.patch