openwrtv3/tools/include
Lars-Peter Clausen bf64b1ccb6 host/include/getline.h - Mac OS X 10.7 (Lion) fix
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 not a compiler built-in define
like __linux__ or __APPLE__).

This one fixes the host/include/getline.h. The next patch will mend the mkimage
package.

Signed-off-by: Joe Roback <openwrt-devel at roback.cc>

SVN-Revision: 27916
2011-08-05 16:52:46 +00:00
..
sys add a portable version of sys/sysmacros.h and and let the kernel use the host include dir, fixes x86 builds on non-gnu systems 2011-07-02 06:49:56 +00:00
byteswap.h more cygwin related build fixes 2009-04-14 14:54:34 +00:00
endian.h more cygwin related build fixes 2009-04-14 14:54:34 +00:00
getline.h host/include/getline.h - Mac OS X 10.7 (Lion) fix 2011-08-05 16:52:46 +00:00