termux-packages/packages/inotify-tools/inotifytools.c.patch

12 lines
255 B
Diff

--- a/libinotifytools/src/inotifytools.c
+++ b/libinotifytools/src/inotifytools.c
@@ -43,7 +43,7 @@
#define FAN_EVENT_INFO_TYPE_DFID_NAME 2
#define FAN_EVENT_INFO_TYPE_DFID 3
-#else
+#elif !defined __ANDROID__
// Linux only
#define LINUX_FANOTIFY