termux-packages/packages/kphp/common-binlog-binlog-buffer-aio.cpp.patch

13 lines
317 B
Diff
Raw Normal View History

2022-01-13 13:07:28 +01:00
--- a/common/binlog/binlog-buffer-aio.cpp
+++ b/common/binlog/binlog-buffer-aio.cpp
@@ -2,7 +2,9 @@
// Copyright (c) 2020 LLC «V Kontakte»
// Distributed under the GPL v3 License, see LICENSE.notice.txt
+#ifndef __ANDROID__
#include <aio.h>
+#endif
#include <assert.h>
#include <cstdlib>
#include <errno.h>