--- 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 +#endif #endif // SYS_FANOTIFY_H_EXISTS_AND_WORKS