Commit Graph

5 Commits (7fb394b9ab8e45c85202fc211ee9cabc0f4540c7)

Author SHA1 Message Date
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
13 years ago
Felix Fietkau fc0863785a 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
SVN-Revision: 27346
13 years ago
Florian Fainelli b8e09787fa more cygwin related build fixes
SVN-Revision: 15227
15 years ago
Felix Fietkau b343519d29 fix sstrip linux compile
SVN-Revision: 5104
18 years ago
Felix Fietkau 60c1f0f64d finally move buildroot-ng to trunk 8 years ago