aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/getauxval.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/getauxval.c b/misc/getauxval.c
index 6111376..27f4be9 100644
--- a/misc/getauxval.c
+++ b/misc/getauxval.c
@@ -23,7 +23,9 @@
unsigned long int
__getauxval (unsigned long int type)
{
+#ifdef HAVE_AUX_VECTOR
ElfW(auxv_t) *p;
+#endif
if (type == AT_HWCAP)
return GLRO(dl_hwcap);