diff options
author | Mike Frysinger <vapier@google.com> | 2018-01-24 08:59:58 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-01-24 08:59:58 +0000 |
commit | 87dbedeba05d969f0136d9a4cc677a9a177a6aee (patch) | |
tree | 10e73580ded2d55cf50208ee757faf09a9fba9f1 | |
parent | 7f5d8558dba7935467f1694f9114d8ee6d901704 (diff) | |
parent | 37c8e3c55c1c96b49a56012d10f7f0b356e7bfd9 (diff) | |
download | minijail-87dbedeba05d969f0136d9a4cc677a9a177a6aee.tar.gz |
move elfparse includes to the module itself
am: 37c8e3c55c
Change-Id: Iddebc9c1a3305204aa1a33bcc505158e9d5ceaa8
-rw-r--r-- | elfparse.c | 7 | ||||
-rw-r--r-- | elfparse.h | 6 |
2 files changed, 7 insertions, 6 deletions
@@ -3,6 +3,13 @@ * found in the LICENSE file. */ +#include <elf.h> +#include <endian.h> +#include <stdint.h> +#include <stdio.h> +#include <stdlib.h> +#include <unistd.h> + #include "elfparse.h" int is_elf_magic (const uint8_t *buf) @@ -9,13 +9,7 @@ #ifndef _ELFPARSE_H_ #define _ELFPARSE_H_ -#include <stdio.h> -#include <stdlib.h> #include <elf.h> -#include <unistd.h> -#include <stdint.h> -#include <endian.h> -#include <string.h> /* * These structs come from elf.h |