diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2017-10-29 08:45:54 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2017-10-29 08:45:54 +0000 |
commit | 0ad115de732d7412195a161be8120691c14d5068 (patch) | |
tree | 08ba5687621a1ef14a2c0b57b95f96e644ac8dd3 /distrib/common/elfrdsetroot.c | |
parent | 2e7e5cd4af3167ce73b3cbffb2bb881fb446644c (diff) |
Prefer <elf.h> to the non portable <sys/exec_elf.h>.
ok jca@, deraadt@
Diffstat (limited to 'distrib/common/elfrdsetroot.c')
-rw-r--r-- | distrib/common/elfrdsetroot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/common/elfrdsetroot.c b/distrib/common/elfrdsetroot.c index f29f175bef0..71bd893ee36 100644 --- a/distrib/common/elfrdsetroot.c +++ b/distrib/common/elfrdsetroot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: elfrdsetroot.c,v 1.23 2017/07/31 01:18:09 mortimer Exp $ */ +/* $OpenBSD: elfrdsetroot.c,v 1.24 2017/10/29 08:45:53 mpi Exp $ */ /* $NetBSD: rdsetroot.c,v 1.2 1995/10/13 16:38:39 gwr Exp $ */ /* @@ -39,12 +39,12 @@ #include <sys/mman.h> #include <sys/stat.h> +#include <elf.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <nlist.h> -#include <sys/exec_elf.h> #include "elfrdsetroot.h" struct elfhdr head; |