diff options
author | midipix <writeonce@midipix.org> | 2019-08-15 19:43:49 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-08-15 19:52:19 +0000 |
commit | d6e02b8ff5da79d895197a3a1c4839e1047d6c57 (patch) | |
tree | 7dadfe592ed4d5cf1880768ab9a9fbedaf97a55d /src/reader/pe_read_import_header.c | |
parent | ef6791a9a90b6ac5e08b253dc3091bf322efda7d (diff) | |
download | perk-d6e02b8ff5da79d895197a3a1c4839e1047d6c57.tar.bz2 perk-d6e02b8ff5da79d895197a3a1c4839e1047d6c57.tar.xz |
perk.h: eliminate #include's of referential headers.
The primary purpose of this commit is to eliminate the pulling
in of definitions not strictly needed by perk.h. In particular,
perk.h does not require any of the PE constants to be defined,
and only refers to the raw PE structs by pointer.
The secondary purpose of this commit is to allow for inclusion
of perk.h by software that already comes with its own set of
PE const and struct definitions.
Diffstat (limited to 'src/reader/pe_read_import_header.c')
-rw-r--r-- | src/reader/pe_read_import_header.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/reader/pe_read_import_header.c b/src/reader/pe_read_import_header.c index 08d1130..720b30a 100644 --- a/src/reader/pe_read_import_header.c +++ b/src/reader/pe_read_import_header.c @@ -7,6 +7,8 @@ #include <string.h> #include <perk/perk.h> +#include <perk/perk_consts.h> +#include <perk/perk_structs.h> #include "perk_endian_impl.h" #include "perk_reader_impl.h" |