[Buildroot] [PATCH 1/1] chipmunk: fix build on musl

Peter Korsgaard peter at korsgaard.com
Sun Sep 2 20:03:39 UTC 2018


>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice at gmail.com> writes:

 > 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 at gmail.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list