chiark / gitweb /
missing: Fix broken syscall(__NR_fanotify_mark... on ppc32
[elogind.git] / src / shared / missing.h
index 5951e06cfc7566eaab42ea85b20f144ac0e5d574..ecedf72ab790a9e6a2b438fde3028bd77324f123 100644 (file)
@@ -133,7 +133,7 @@ static inline int fanotify_init(unsigned int flags, unsigned int event_f_flags)
 
 static inline int fanotify_mark(int fanotify_fd, unsigned int flags, uint64_t mask,
                                 int dfd, const char *pathname) {
-#if defined _MIPS_SIM && _MIPS_SIM == _MIPS_SIM_ABI32
+#if defined _MIPS_SIM && _MIPS_SIM == _MIPS_SIM_ABI32 || defined __powerpc__ && !defined __powerpc64__
         union {
                 uint64_t _64;
                 uint32_t _32[2];