summaryrefslogtreecommitdiff
path: root/usr.sbin/mopd/mopa.out
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-10-29 08:45:54 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-10-29 08:45:54 +0000
commit0ad115de732d7412195a161be8120691c14d5068 (patch)
tree08ba5687621a1ef14a2c0b57b95f96e644ac8dd3 /usr.sbin/mopd/mopa.out
parent2e7e5cd4af3167ce73b3cbffb2bb881fb446644c (diff)
Prefer <elf.h> to the non portable <sys/exec_elf.h>.
ok jca@, deraadt@
Diffstat (limited to 'usr.sbin/mopd/mopa.out')
-rw-r--r--usr.sbin/mopd/mopa.out/mopa.out.c4
1 files changed, 2 insertions, 2 deletions
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