void-packages/srcpkgs/elogind/patches/mips.patch
Jürgen Buchmüller d1701cbd54 elogind: fix mips*
2021-02-24 07:27:26 +01:00

11 lines
296 B
Diff

--- src/basic/missing_syscall.h 2021-01-15 08:12:02.000000000 +0100
+++ 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