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

12 lines
374 B
Diff
Raw Normal View History

2018-10-02 03:15:58 +02:00
# 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