2
0
Эх сурвалжийг харах

perf: fix build with musl on PowerPC

Signed-off-by: Matthias Schiffer <[email protected]>
Matthias Schiffer 9 жил өмнө
parent
commit
376944c0ab

+ 8 - 0
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