]> git.meshlink.io Git - meshlink/blobdiff - src/tincd.c
Basic patch for android cross-compilation.
[meshlink] / src / tincd.c
index 4f03db6f57558c9eca149d9423664fd007428bc3..7b74cd6ca7e97b6df7844e6b3dbeaa8f8b2f6ad5 100644 (file)
@@ -467,8 +467,9 @@ static bool drop_privs() {
                               "initgroups", strerror(errno));
                        return false;
                }
-               endgrent();
-               endpwent();
+        // Not supported in android NDK
+               //endgrent();
+               //endpwent();
        }
        if (do_chroot) {
                tzset();        /* for proper timestamps in logs */