From: "Steven J. Hill" Date: Thu, 16 Mar 2006 04:38:56 +0000 (-0000) Subject: Fix header file to use __USE_GNU so that TIMEVAL_TO_TIMESPEC gets defined, otherwise... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c579e32dbe6d927bdcfffeede18123aa92abbdd5;p=buildroot.git Fix header file to use __USE_GNU so that TIMEVAL_TO_TIMESPEC gets defined, otherwise latest dropbear does not build. --- diff --git a/package/dropbear/dropbear-fix-missing-TIMEVAL_TO_TIMESPEC.patch b/package/dropbear/dropbear-fix-missing-TIMEVAL_TO_TIMESPEC.patch new file mode 100644 index 0000000000..37c457411a --- /dev/null +++ b/package/dropbear/dropbear-fix-missing-TIMEVAL_TO_TIMESPEC.patch @@ -0,0 +1,11 @@ +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 /* required for BSD4_4 define */ + #include + #include ++#define __USE_GNU + #include + #include + #include