summaryrefslogtreecommitdiffstats
path: root/usr.sbin/btxld/elfh.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/btxld/elfh.h')
-rw-r--r--usr.sbin/btxld/elfh.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/btxld/elfh.h b/usr.sbin/btxld/elfh.h
index cf00f38..a4ab134 100644
--- a/usr.sbin/btxld/elfh.h
+++ b/usr.sbin/btxld/elfh.h
@@ -26,7 +26,7 @@
* $FreeBSD$
*/
-#include <elf.h>
+#include <sys/elf32.h>
struct elfh {
Elf32_Ehdr e; /* ELF header */
@@ -35,4 +35,4 @@ struct elfh {
char shstrtab[28]; /* section header string table */
};
-const struct elfh elfhdr; /* ELF header template */
+extern const struct elfh elfhdr; /* ELF header template */
OpenPOWER on IntegriCloud