--- 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
 
 
