termux-packages/packages/uwsgi/plugins-router_basicauth-router_basicauth.c.patch

12 lines
382 B
Diff
Raw Normal View History

2021-12-10 21:37:54 +01:00
--- 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