include <sys/exec_elf.h> if it's available.
This fixes the auxval logic on NetBSD.
This commit is contained in:

committed by
Nico Williams

parent
ba5bb07495
commit
a8b749685c
@@ -40,6 +40,10 @@
|
||||
#include <sys/auxv.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_EXEC_ELF_H
|
||||
#include <sys/exec_elf.h>
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_AUXV_T
|
||||
/*
|
||||
* Illumos defines auxv_t per the ABI standards, but all other OSes seem
|
||||
|
Reference in New Issue
Block a user