chiark / gitweb /
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 ce96bd5d334767da038d550e15cd1860e1c58d8e..36bff4ef66b4dd3002bbd68e0ff6c1dc9fc15c51 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;