nostrdb

an unfairly fast embedded nostr database backed by lmdb
git clone git://jb55.com/nostrdb
Log | Files | Refs | Submodules | README | LICENSE

commit 81a2dcf7d22dbfd8e023d389578823947f058484
parent 65ab15d2e352648da6e03aeb31b99a4f013d03ff
Author: William Casarin <jb55@jb55.com>
Date:   Fri,  9 Feb 2024 19:02:28 -0800

android: add missing headers

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Msrc/random.h | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/random.h b/src/random.h @@ -20,6 +20,10 @@ #include <windows.h> #include <ntstatus.h> #include <bcrypt.h> +#elif defined(__ANDROID__) +#include <fcntl.h> +#include <unistd.h> +#include <errno.h> #elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) #include <sys/random.h> #elif defined(__OpenBSD__)