1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-19 23:37:05 +00:00
termux-packages/packages/uwsgi/plugins-router_basicauth-router_basicauth.c.patch
2021-12-10 22:37:54 +02:00

12 lines
382 B
Diff

--- a/plugins/router_basicauth/router_basicauth.c
+++ b/plugins/router_basicauth/router_basicauth.c
@@ -5,7 +5,7 @@
// TODO: Add more crypt_r supported platfroms here
#if defined(__linux__) && defined(__GLIBC__)
#include <crypt.h>
-#elif defined(__CYGWIN__)
+#elif defined(__CYGWIN__) || defined(__ANDROID__)
#include <crypt.h>
pthread_mutex_t ur_basicauth_crypt_mutex;
#else