include <sys/exec_elf.h> if it's available.
This fixes the auxval logic on NetBSD.
This commit is contained in:
		 Roland C. Dowdeswell
					Roland C. Dowdeswell
				
			
				
					committed by
					
						 Nico Williams
						Nico Williams
					
				
			
			
				
	
			
			
			 Nico Williams
						Nico Williams
					
				
			
						parent
						
							ba5bb07495
						
					
				
				
					commit
					a8b749685c
				
			| @@ -75,6 +75,7 @@ AC_CHECK_HEADERS([\ | ||||
| 	sys/auxv.h				\ | ||||
| 	sys/bswap.h				\ | ||||
| 	sys/errno.h				\ | ||||
| 	sys/exec_elf.h				\ | ||||
| 	sys/ioctl.h				\ | ||||
| 	sys/mman.h				\ | ||||
| 	sys/param.h				\ | ||||
|   | ||||
| @@ -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