Index: curl-7.85.0/lib/url.c
===================================================================
--- curl-7.85.0.orig/lib/url.c
+++ curl-7.85.0/lib/url.c
@@ -3012,6 +3012,7 @@ static CURLcode override_login(struct Cu
 
 #ifndef CURL_DISABLE_NETRC
   conn->bits.netrc = FALSE;
+#ifndef __BIONIC__
   if(data->set.use_netrc && !data->set.str[STRING_USERNAME]) {
     bool netrc_user_changed = FALSE;
     bool netrc_passwd_changed = FALSE;
@@ -3090,6 +3091,7 @@ static CURLcode override_login(struct Cu
         return CURLE_OUT_OF_MEMORY;
     }
   }
+#endif
 
   return CURLE_OK;
 }
