[klibc] elf.h

H. Peter Anvin hpa at zytor.com
Mon Sep 20 08:59:09 PDT 2004


Thayne Harbaugh wrote:
> Seems like include/elf.h needs to "#include <stdint.h>" so that
> sys/elf32.h and sys/elf64.h can use stdint types in the elf typedefs.
> 
> --- include/elf.h.orig  2004-09-20 08:52:15.043018432 -0600
> +++ include/elf.h       2004-09-20 08:47:52.711898824 -0600
> @@ -5,6 +5,8 @@
>  #ifndef _ELF_H
>  #define _ELF_H
> 
> +#include <stdint.h>
> +
>  #include <sys/elf32.h>
>  #include <sys/elf64.h>
> 

Right you are.  Added to <sys/elfcommon.h>.

	-hpa



More information about the klibc mailing list