0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-27 06:18:57 +00:00
termux-packages/x11-packages/kitty/kitty-cross-platform-random.h.patch
2022-05-13 23:12:47 +09:00

12 lines
295 B
Diff

--- a/kitty/cross-platform-random.h
+++ b/kitty/cross-platform-random.h
@@ -10,7 +10,7 @@
#if __linux__
#include <errno.h>
-#if __has_include(<sys/random.h>)
+#if __has_include(<sys/random.h>) && (!defined __ANDROID__ || __ANDROID_API__ >= 28)
#include <sys/random.h>
static inline bool