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 /usr.sbin/mopd | |
parent | 2e7e5cd4af3167ce73b3cbffb2bb881fb446644c (diff) |
Prefer <elf.h> to the non portable <sys/exec_elf.h>.
ok jca@, deraadt@
Diffstat (limited to 'usr.sbin/mopd')
-rw-r--r-- | usr.sbin/mopd/common/file.c | 4 | ||||
-rw-r--r-- | usr.sbin/mopd/mopa.out/mopa.out.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/mopd/common/file.c b/usr.sbin/mopd/common/file.c index 65c016b3f95..c4f5d02b520 100644 --- a/usr.sbin/mopd/common/file.c +++ b/usr.sbin/mopd/common/file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: file.c,v 1.18 2017/01/21 08:33:51 krw Exp $ */ +/* $OpenBSD: file.c,v 1.19 2017/10/29 08:45:53 mpi Exp $ */ /* * Copyright (c) 1995-96 Mats O Jansson. All rights reserved. @@ -53,7 +53,7 @@ #ifndef NOELF #if defined(__OpenBSD__) -#include <sys/exec_elf.h> +#include <elf.h> #else #define NOELF #endif diff --git a/usr.sbin/mopd/mopa.out/mopa.out.c b/usr.sbin/mopd/mopa.out/mopa.out.c index e6471cd3c86..487dfca03b5 100644 --- a/usr.sbin/mopd/mopa.out/mopa.out.c +++ b/usr.sbin/mopd/mopa.out/mopa.out.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mopa.out.c,v 1.16 2017/01/21 08:33:51 krw Exp $ */ +/* $OpenBSD: mopa.out.c,v 1.17 2017/10/29 08:45:53 mpi Exp $ */ /* * mopa.out - Convert a Unix format kernel into something that @@ -68,7 +68,7 @@ #ifndef NOELF #if defined(__NetBSD__) || defined(__OpenBSD__) -#include <sys/exec_elf.h> +#include <elf.h> #else #define NOELF #endif |