diff --git a/srcpkgs/criu/patches/aarch64-musl.patch b/srcpkgs/criu/patches/aarch64-musl.patch new file mode 100644 index 00000000000..c1502f4c745 --- /dev/null +++ b/srcpkgs/criu/patches/aarch64-musl.patch @@ -0,0 +1,28 @@ +--- a/compel/arch/aarch64/src/lib/include/uapi/asm/sigframe.h ++++ b/compel/arch/aarch64/src/lib/include/uapi/asm/sigframe.h +@@ -1,7 +1,11 @@ + #ifndef UAPI_COMPEL_ASM_SIGFRAME_H__ + #define UAPI_COMPEL_ASM_SIGFRAME_H__ + ++#ifdef __GLIBC__ + #include ++#else ++#include ++#endif + #include + + #include +--- a/criu/arch/aarch64/include/asm/restorer.h ++++ b/criu/arch/aarch64/include/asm/restorer.h +@@ -1,7 +1,11 @@ + #ifndef __CR_ASM_RESTORER_H__ + #define __CR_ASM_RESTORER_H__ + ++#ifdef __GLIBC__ + #include ++#else ++#include ++#endif + #include + + #include "asm/types.h"