diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-09-28 06:14:09 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-09-28 06:26:35 +0200 |
commit | 376944c0abe4c073faab17c450c3df1b0acda626 (patch) | |
tree | 971050b69100c9a054adb7062e5c5dd5c70c526b /package | |
parent | 82aa061251f9efa68bea8fd4f3bcfb28d3654d5a (diff) | |
download | mtk-20170518-376944c0abe4c073faab17c450c3df1b0acda626.zip mtk-20170518-376944c0abe4c073faab17c450c3df1b0acda626.tar.gz mtk-20170518-376944c0abe4c073faab17c450c3df1b0acda626.tar.bz2 |
perf: fix build with musl on PowerPC
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'package')
-rw-r--r-- | package/devel/perf/musl-include/asm/errno.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 0000000..8c4b1be --- /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 <errno.h> + +#endif |