diff options
author | Warner Losh <imp@FreeBSD.org> | 2017-12-05 21:38:04 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2017-12-05 21:38:04 +0000 |
commit | f38658e1408c4a637d75afabd0222b968cf2ed97 (patch) | |
tree | 929db37456aec8e1a8930c7fdb5a960a877edb10 /stand/common/load_elf_obj.c | |
parent | 6fd96c93c1ff811e03dc4676c9fde93d11467a20 (diff) | |
download | src-f38658e1408c4a637d75afabd0222b968cf2ed97.tar.gz src-f38658e1408c4a637d75afabd0222b968cf2ed97.zip |
Prefer stdint.h to inttypes.h since the added prototypes form the
latter aren't used. Prefer sys/link_elf.h to link.h so we're only
dependent on the kernel tree. The default installation of link.h just
includes this file, and any benefit from that is outweighed by the
hassle it causes. This reduces the footprint of files needed from the
system includes (or sysroot in buildworld).
Sponsored by: Netflix
Notes
Notes:
svn path=/head/; revision=326590
Diffstat (limited to 'stand/common/load_elf_obj.c')
-rw-r--r-- | stand/common/load_elf_obj.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stand/common/load_elf_obj.c b/stand/common/load_elf_obj.c index a32b9fde4b75..57df57a79c79 100644 --- a/stand/common/load_elf_obj.c +++ b/stand/common/load_elf_obj.c @@ -33,12 +33,12 @@ __FBSDID("$FreeBSD$"); #include <sys/exec.h> #include <sys/linker.h> #include <sys/module.h> -#include <inttypes.h> +#include <stdint.h> #include <string.h> #include <machine/elf.h> #include <stand.h> #define FREEBSD_ELF -#include <link.h> +#include <sys/link_elf.h> #include "bootstrap.h" |