mirror of
https://github.com/termux/termux-packages.git
synced 2025-06-03 16:35:16 +00:00
15 lines
458 B
Diff
15 lines
458 B
Diff
--- a/ui/ozone/platform/wayland/host/zwp_text_input_wrapper_v1.cc
|
|
+++ b/ui/ozone/platform/wayland/host/zwp_text_input_wrapper_v1.cc
|
|
@@ -22,6 +22,11 @@
|
|
#include "ui/ozone/platform/wayland/host/wayland_seat.h"
|
|
#include "ui/ozone/platform/wayland/host/wayland_window.h"
|
|
|
|
+#if defined __ANDROID__ && __ANDROID_API__ < 30
|
|
+#include <sys/syscall.h>
|
|
+#define memfd_create(name,flags) syscall(SYS_memfd_create,name,flags)
|
|
+#endif
|
|
+
|
|
namespace ui {
|
|
namespace {
|
|
|