diff options
author | mpi <mpi@openbsd.org> | 2017-10-17 09:34:52 +0000 |
---|---|---|
committer | mpi <mpi@openbsd.org> | 2017-10-17 09:34:52 +0000 |
commit | 7c8f01ebb0cafc2ee3abe1058f9392faf2c9d85a (patch) | |
tree | 389b315b4f6f47f4306e28f64f485e2d843d746e | |
parent | Do not print an extra line if the 'get' command succeeds. (diff) | |
download | wireguard-openbsd-7c8f01ebb0cafc2ee3abe1058f9392faf2c9d85a.tar.xz wireguard-openbsd-7c8f01ebb0cafc2ee3abe1058f9392faf2c9d85a.zip |
<elf.h> should make it easier to port our ELF-related tools to other Unices.
For the moment it only includes <sys/exec_elf.h> but the goal is to
stop pulling it directly and also replace <elf_abi.h> at least for
base applications.
ok deraadt@, jasper@, naddy@
-rw-r--r-- | include/Makefile | 4 | ||||
-rw-r--r-- | include/elf.h | 12 |
2 files changed, 14 insertions, 2 deletions
diff --git a/include/Makefile b/include/Makefile index cddfefdcfec..878ea45f1f9 100644 --- a/include/Makefile +++ b/include/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.221 2017/10/15 23:40:33 guenther Exp $ +# $OpenBSD: Makefile,v 1.222 2017/10/17 09:34:52 mpi Exp $ # $NetBSD: Makefile,v 1.59 1996/05/15 21:36:43 jtc Exp $ # @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91 @@ -13,7 +13,7 @@ FILES= a.out.h ar.h asr.h assert.h \ bitstring.h blf.h bsd_auth.h \ complex.h cpio.h ctype.h curses.h \ db.h dirent.h disktab.h dlfcn.h \ - elf_abi.h err.h errno.h \ + elf.h elf_abi.h err.h errno.h \ fenv.h float.h fnmatch.h fstab.h fts.h ftw.h \ getopt.h glob.h grp.h \ icdb.h ieeefp.h ifaddrs.h inttypes.h iso646.h \ diff --git a/include/elf.h b/include/elf.h new file mode 100644 index 00000000000..8b1273e9150 --- /dev/null +++ b/include/elf.h @@ -0,0 +1,12 @@ +/* $OpenBSD: elf.h,v 1.1 2017/10/17 09:34:52 mpi Exp $ */ + +/* + * Public domain. + */ + +#ifndef _ELF_H_ +#define _ELF_H_ + +#include <sys/exec_elf.h> + +#endif /* _ELF_H_ */ |