diff options
author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2018-09-02 18:23:40 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2018-09-02 22:02:44 +0200 |
commit | 2989e3c87a1123350728904fd789ad513e76b073 (patch) | |
tree | b6c23c139fed21b24833260ce9358e4e8ce9502d /package/gcc | |
parent | 811734ef9044bbdfc067da76358153061fae2031 (diff) | |
download | buildroot-2989e3c87a1123350728904fd789ad513e76b073.tar.gz buildroot-2989e3c87a1123350728904fd789ad513e76b073.zip |
chipmunk: fix build on musl
Build fails on:
/home/test/autobuild/run/instance-0/output/build/chipmunk-7.0.2/src/cpHastySpace.c:11:24: fatal error: sys/sysctl.h: No such file or directory
Indeed, sys/sysctl.h is not available on musl so include this header
only if __APPLE__ is defined as sysctlbyname is only used in this case.
Fixes:
- http://autobuild.buildroot.org/results/e5be2f8eb9315a9054e1c8d854dec37cbb28eed7
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/gcc')
0 files changed, 0 insertions, 0 deletions