termux-packages/packages/inotify-tools/inotifytools-fanotify.h.in.patch
2022-02-28 12:42:29 +05:30

13 lines
302 B
Diff

--- a/libinotifytools/src/inotifytools/fanotify.h.in
+++ b/libinotifytools/src/inotifytools/fanotify.h.in
@@ -14,7 +14,9 @@
* before including sys/fanotify.h.
*/
#include "fanotify-dfid-name.h"
+#ifndef __ANDROID__
#include <sys/fanotify.h>
+#endif
#endif // SYS_FANOTIFY_H_EXISTS_AND_WORKS