zeek/auxil/vcpkg/ports/libssh/0004-file-permissions-constants.patch
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

16 lines
384 B
Diff

diff --git a/src/misc.c b/src/misc.c
--- a/src/misc.c (revision 9941e89f307e73352d887cac14e4e26b481a0a82)
+++ b/src/misc.c (date 1675868320486)
@@ -24,6 +24,11 @@
#include "config.h"
+#ifdef __ANDROID__
+#define _S_IWRITE S_IWUSR
+#define S_IWRITE S_IWUSR
+#endif
+
#ifndef _WIN32
/* This is needed for a standard getpwuid_r on opensolaris */
#define _POSIX_PTHREAD_SEMANTICS