Commit Graph

2 Commits

Author SHA1 Message Date
Thomas Petazzoni
b7d98b2d42 Fix dropbear compilation with glibc
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>
2009-07-01 14:20:51 +02:00
"Steven J. Hill"
c579e32dbe Fix header file to use __USE_GNU so that TIMEVAL_TO_TIMESPEC gets defined, otherwise latest dropbear does not build. 2006-03-16 04:38:56 +00:00