mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
glib/tests: evade bionic libc polyfills for getpwuid
This helps build glib's tests and thus glib under termux on android. Fixes: #3008
This commit is contained in:
parent
786f379d78
commit
9f7ed1fc37
@ -25,6 +25,8 @@
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#undef getpwuid
|
||||
|
||||
static struct passwd my_pw;
|
||||
|
||||
/* This is used in gutils.c used to make sure utility functions
|
||||
|
Loading…
Reference in New Issue
Block a user