summaryrefslogtreecommitdiff
path: root/libgcompat
diff options
context:
space:
mode:
Diffstat (limited to 'libgcompat')
-rw-r--r--libgcompat/sysctl.c10
1 files changed, 9 insertions, 1 deletions
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 <sys/auxv.h> /* getauxval */
#include <sys/syscall.h>
-#include <unistd.h> /* size_t */
+#include <unistd.h> /* size_t */
+
+
+unsigned long __getauxval(unsigned long type)
+{
+ return getauxval(type);
+}
+
#ifdef SYS__sysctl