mirror of
https://github.com/termux/termux-packages
synced 2024-06-19 09:57:09 +00:00
12 lines
295 B
Diff
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
|