incron: fix aarch64 build
This commit is contained in:
parent
f319a75dda
commit
3b070f30fe
|
@ -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
|
Loading…
Reference in New Issue