From 9dbbddcb9813b84b48057a1756eacede6e48cdc7 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 7 Oct 2022 23:27:41 -0500 Subject: sysctl: Add __getauxval alias Used by GraalVM Java. --- libgcompat/sysctl.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libgcompat/sysctl.c b/libgcompat/sysctl.c index e7218c1..14c596c 100644 --- a/libgcompat/sysctl.c +++ b/libgcompat/sysctl.c @@ -1,5 +1,13 @@ +#include /* getauxval */ #include -#include /* size_t */ +#include /* size_t */ + + +unsigned long __getauxval(unsigned long type) +{ + return getauxval(type); +} + #ifdef SYS__sysctl -- cgit v1.2.3-70-g09d2