summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mopd
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2017-10-29 08:45:53 +0000
committermpi <mpi@openbsd.org>2017-10-29 08:45:53 +0000
commit9f79a69831e4879318a9c62b1da26ebbbfc9edc0 (patch)
tree5e215bd16f9948a8234e3853e6ce87ebac259c1c /usr.sbin/mopd
parentSync example with description. (diff)
downloadwireguard-openbsd-9f79a69831e4879318a9c62b1da26ebbbfc9edc0.tar.xz
wireguard-openbsd-9f79a69831e4879318a9c62b1da26ebbbfc9edc0.zip
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.c4
-rw-r--r--usr.sbin/mopd/mopa.out/mopa.out.c4
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