void-packages/srcpkgs/incron/patches/aarch64.patch

12 lines
374 B
Diff

# taken from https://github.com/alpinelinux/aports/blob/master/community/incron/incron-aarch64.patch
--- inotify-cxx.h
+++ inotify-cxx.h
@@ -37,7 +37,7 @@
#include <sys/inotify.h>
// Use this if syscalls not defined
-#ifndef __NR_inotify_init
+#if not defined(__NR_inotify_init) && not defined(__aarch64__)
#include <sys/inotify-syscalls.h>
#endif // __NR_inotify_init