Part of 2 "[PATCH] [1/2] host/include/getline.h - Mac OS X 10.7 (Lion) fix"
This mends mkimage for getline() in Mac OS X 10.7.
Signed-off-by: Joe Roback
mkimage-darwin-10_7-getline-fix.patch
Description: Binary data
---
Index: tools/mkimage/patches/020-darwin-10_7-getline-fix.patch
===
Apple has finally updated their version of Libc, and it now includes getline().
\o/
The following patch fixes OpenWRT getline.h to not redefine it for 10.7. The
one caveat is, the includes (at least stdio.h) are needed before the #ifdef so
that __DARWIN_C_LEVEL could be properly defined (it is
I installed OpenWRT r.27797 on DIR-601 (hw.A1).
All pings from LAN to WAN have very high latencies which also vary a lot.
For example, outbound ping to www.google.com normally has latency ~15ms, but
through OpenWRT it is 600-1300ms.
Even ping of another host on the WAN network has latencies varyi