summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2017-10-27 08:33:46 +0000
committermpi <mpi@openbsd.org>2017-10-27 08:33:46 +0000
commite4b342e5f06b078b014dbb0002de98f80d206464 (patch)
tree1c291424449675d6fb13019c91586b0288d581ec
parentAdd missing quote. (diff)
downloadwireguard-openbsd-e4b342e5f06b078b014dbb0002de98f80d206464.tar.xz
wireguard-openbsd-e4b342e5f06b078b014dbb0002de98f80d206464.zip
Use <elf.h> rather than <sys/exec_elf.h>.
The former is more portable.
-rw-r--r--usr.bin/ctfconv/ctfconv.c4
-rw-r--r--usr.bin/ctfconv/elf.c4
-rw-r--r--usr.bin/ctfdump/ctfdump.c4
-rw-r--r--usr.bin/ctfdump/elf.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/ctfconv/ctfconv.c b/usr.bin/ctfconv/ctfconv.c
index 06891784ed8..8abe515b94a 100644
--- a/usr.bin/ctfconv/ctfconv.c
+++ b/usr.bin/ctfconv/ctfconv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ctfconv.c,v 1.12 2017/09/29 16:05:53 jsg Exp $ */
+/* $OpenBSD: ctfconv.c,v 1.13 2017/10/27 08:33:46 mpi Exp $ */
/*
* Copyright (c) 2016-2017 Martin Pieuchot
@@ -18,13 +18,13 @@
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/exec_elf.h>
#include <sys/mman.h>
#include <sys/queue.h>
#include <sys/tree.h>
#include <sys/ctf.h>
#include <assert.h>
+#include <elf.h>
#include <err.h>
#include <fcntl.h>
#include <locale.h>
diff --git a/usr.bin/ctfconv/elf.c b/usr.bin/ctfconv/elf.c
index 39136d85095..b7b2c542517 100644
--- a/usr.bin/ctfconv/elf.c
+++ b/usr.bin/ctfconv/elf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: elf.c,v 1.6 2017/09/30 10:15:59 jsg Exp $ */
+/* $OpenBSD: elf.c,v 1.7 2017/10/27 08:33:46 mpi Exp $ */
/*
* Copyright (c) 2016 Martin Pieuchot <mpi@openbsd.org>
@@ -17,11 +17,11 @@
*/
#include <sys/types.h>
-#include <sys/exec_elf.h>
#include <machine/reloc.h>
#include <assert.h>
+#include <elf.h>
#include <err.h>
#include <string.h>
diff --git a/usr.bin/ctfdump/ctfdump.c b/usr.bin/ctfdump/ctfdump.c
index 053c81f5a7e..dafea943332 100644
--- a/usr.bin/ctfdump/ctfdump.c
+++ b/usr.bin/ctfdump/ctfdump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ctfdump.c,v 1.11 2017/10/16 12:58:57 mpi Exp $ */
+/* $OpenBSD: ctfdump.c,v 1.12 2017/10/27 08:33:46 mpi Exp $ */
/*
* Copyright (c) 2016 Martin Pieuchot <mpi@openbsd.org>
@@ -18,10 +18,10 @@
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/exec_elf.h>
#include <sys/mman.h>
#include <sys/ctf.h>
+#include <elf.h>
#include <err.h>
#include <fcntl.h>
#include <locale.h>
diff --git a/usr.bin/ctfdump/elf.c b/usr.bin/ctfdump/elf.c
index 04112c45436..cee7024bb39 100644
--- a/usr.bin/ctfdump/elf.c
+++ b/usr.bin/ctfdump/elf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: elf.c,v 1.4 2017/10/05 02:59:39 jsg Exp $ */
+/* $OpenBSD: elf.c,v 1.5 2017/10/27 08:33:46 mpi Exp $ */
/*
* Copyright (c) 2016 Martin Pieuchot <mpi@openbsd.org>
@@ -17,11 +17,11 @@
*/
#include <sys/types.h>
-#include <sys/exec_elf.h>
#include <machine/reloc.h>
#include <assert.h>
+#include <elf.h>
#include <err.h>
#include <string.h>