Set default uid/gid to 65534/nobody for ANDROID
[deb_libnfs.git] / lib / init.c
index 3c0c2de46c2e7c7880b29420cce9f047ffcb4333..36d4880006d9f244b804fdf0a8b2631c2a220924 100644 (file)
@@ -76,7 +76,7 @@ struct rpc_context *rpc_init_context(void)
        salt += 0x01000000;
        rpc->fd = -1;
        rpc->tcp_syncnt = RPC_PARAM_UNDEFINED;
-#ifdef WIN32
+#if defined(WIN32) || defined(ANDROID)
        rpc->uid = 65534;
        rpc->gid = 65534;
 #else