termux-packages/packages/kphp/common-binlog-binlog-buffer-aio.cpp.patch
2022-01-14 10:49:11 +02:00

13 lines
317 B
Diff

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