--- a/common/binlog/binlog-buffer.h
+++ b/common/binlog/binlog-buffer.h
@@ -5,7 +5,9 @@
 #ifndef __KDB_BINLOG_BUFFER_H__
 #define __KDB_BINLOG_BUFFER_H__
 
+#ifndef __ANDROID__
 #include <aio.h>
+#endif
 #include <limits.h>
 #include <functional>
 
