vp-build/srcpkgs/elogind/patches/mips.patch

12 lines
300 B
Diff

--- a/src/basic/missing_syscall.h 2021-01-15 08:12:02.000000000 +0100
+++ b/src/basic/missing_syscall.h 2021-02-24 07:20:32.026355819 +0100
@@ -11,7 +11,7 @@
#include <sys/wait.h>
#include <unistd.h>
-#ifdef ARCH_MIPS
+#if defined(_MIPSEL) || defined(_MIPSEB)
#include <asm/sgidefs.h>
#endif