Files
termux-packages/x11-packages/kitty/kitty-cross-platform-random.h.patch
termux-actions[bot] e44f256a7e x11-packages/kitty
2022-05-13 14:24:00 +00: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