incron: fix aarch64 build

This commit is contained in:
lordwelch 2018-10-01 18:15:58 -07:00 committed by maxice8
parent f319a75dda
commit 3b070f30fe

View file

@ -0,0 +1,11 @@
# 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