void-packages/srcpkgs/incron/aarch64.patch
2018-10-03 04:56:28 -03:00

11 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