termux-packages/packages/inotify-tools/inotifytools-fanotify.h.in.patch

13 lines
302 B
Diff
Raw Normal View History

2022-02-28 05:37:44 +01:00
--- 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