From: Matthias Schiffer Date: Wed, 28 Sep 2016 04:14:09 +0000 (+0200) Subject: perf: fix build with musl on PowerPC X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=376944c0abe4c073faab17c450c3df1b0acda626;p=openwrt%2Fstaging%2Fyousong.git perf: fix build with musl on PowerPC Signed-off-by: Matthias Schiffer --- diff --git a/package/devel/perf/musl-include/asm/errno.h b/package/devel/perf/musl-include/asm/errno.h new file mode 100644 index 0000000000..8c4b1beb52 --- /dev/null +++ b/package/devel/perf/musl-include/asm/errno.h @@ -0,0 +1,8 @@ +#ifndef __MUSL_COMPAT_ASM_ERRNO_H +#define __MUSL_COMPAT_ASM_ERRNO_H + +/* Avoid including different versions of errno.h, the defines (incorrectly) + * cause a redefinition error on PowerPC */ +#include + +#endif