From 9f7ed1fc378261e1954f7616201d8b9f42446c16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Sat, 20 May 2023 12:40:40 +0200 Subject: [PATCH] glib/tests: evade bionic libc polyfills for getpwuid This helps build glib's tests and thus glib under termux on android. Fixes: #3008 --- glib/tests/getpwuid-preload.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/glib/tests/getpwuid-preload.c b/glib/tests/getpwuid-preload.c index f4197e690..17629cdef 100644 --- a/glib/tests/getpwuid-preload.c +++ b/glib/tests/getpwuid-preload.c @@ -25,6 +25,8 @@ #include #include +#undef getpwuid + static struct passwd my_pw; /* This is used in gutils.c used to make sure utility functions