summaryrefslogtreecommitdiff
path: root/package/dropbear/dropbear-fix-missing-TIMEVAL_TO_TIMESPEC.patch
AgeCommit message (Collapse)Author
2009-07-01Fix dropbear compilation with glibcThomas Petazzoni
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>
2006-03-16Fix header file to use __USE_GNU so that TIMEVAL_TO_TIMESPEC gets defined, ↵"Steven J. Hill"
otherwise latest dropbear does not build.