Ver Fonte

perf: fix build with musl on PowerPC

Signed-off-by: Matthias Schiffer <[email protected]>
Matthias Schiffer há 9 anos atrás
pai
commit
376944c0ab
1 ficheiros alterados com 8 adições e 0 exclusões
  1. 8 0
      package/devel/perf/musl-include/asm/errno.h

+ 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