summaryrefslogtreecommitdiffstats
path: root/include/elf-hints.h
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-05-02 23:56:21 +0000
committerobrien <obrien@FreeBSD.org>2001-05-02 23:56:21 +0000
commit538e761e025ee84b3b100b7c0eabceaa5b550b49 (patch)
tree212c800046bcfdedaa0f36777e0d9479206e0c43 /include/elf-hints.h
parentd917f606f3edba70f558ca5105b6d31f1d87c910 (diff)
downloadFreeBSD-src-538e761e025ee84b3b100b7c0eabceaa5b550b49.zip
FreeBSD-src-538e761e025ee84b3b100b7c0eabceaa5b550b49.tar.gz
* include/elf.h has been repo copied to include/elf-hints.h, and it no
longer includes machine/elf.h. * consumers of elf.h now use the minimalist elf header possible. This change is motivated by Binutils 2.11.0 and too much clashing over our base elf headers and the Binutils elf headers.
Diffstat (limited to 'include/elf-hints.h')
-rw-r--r--include/elf-hints.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/elf-hints.h b/include/elf-hints.h
index 9633083..e009074 100644
--- a/include/elf-hints.h
+++ b/include/elf-hints.h
@@ -26,11 +26,8 @@
* $FreeBSD$
*/
-#ifndef _ELF_H_
-#define _ELF_H_
-
-#include <sys/types.h>
-#include <machine/elf.h>
+#ifndef _ELF_HINTS_H_
+#define _ELF_HINTS_H_
/*
* Hints file produced by ldconfig.
@@ -50,4 +47,4 @@ struct elfhints_hdr {
#define _PATH_ELF_HINTS "/var/run/ld-elf.so.hints"
-#endif /* !_ELF_H_ */
+#endif /* !_ELF_HINTS_H_ */
OpenPOWER on IntegriCloud