ndk_patches/elf.h: Fix gdb build
authorFredrik Fornwall <fredrik@fornwall.net>
Sun, 8 May 2016 23:02:21 +0000 (19:02 -0400)
committerFredrik Fornwall <fredrik@fornwall.net>
Sun, 8 May 2016 23:02:21 +0000 (19:02 -0400)
ndk_patches/elf.h

index ce96bd5..36bff4e 100644 (file)
 #ifndef _ELF_H
 #define        _ELF_H 1
 
-#include <features.h>
+#include <sys/cdefs.h>
+#include <stdint.h>
 
 __BEGIN_DECLS
 
 /* Standard ELF types.  */
 
-#include <stdint.h>
-
 /* Type for a 16-bit quantity.  */
 typedef uint16_t Elf32_Half;
 typedef uint16_t Elf64_Half;