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

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