From 51cd26e7b1d3851467fc7a42e8bcd9342bfacdc6 Mon Sep 17 00:00:00 2001 From: mpi <> Date: Tue, 17 Oct 2017 09:34:52 +0000 Subject: [PATCH] should make it easier to port our ELF-related tools to other Unices. For the moment it only includes but the goal is to stop pulling it directly and also replace at least for base applications. ok deraadt@, jasper@, naddy@ --- src/include/Makefile | 4 ++-- src/include/elf.h | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 src/include/elf.h diff --git a/src/include/Makefile b/src/include/Makefile index cddfefdc..878ea45f 100644 --- a/src/include/Makefile +++ b/src/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/src/include/elf.h b/src/include/elf.h new file mode 100644 index 00000000..8b1273e9 --- /dev/null +++ b/src/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 + +#endif /* _ELF_H_ */