summaryrefslogtreecommitdiffstats
path: root/usr.bin/ctfconv/ctfconv.c
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 /usr.bin/ctfconv/ctfconv.c
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.
Diffstat (limited to 'usr.bin/ctfconv/ctfconv.c')
-rw-r--r--usr.bin/ctfconv/ctfconv.c4
1 files changed, 2 insertions, 2 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>