diff options
author | marcel <marcel@FreeBSD.org> | 2000-01-04 14:10:36 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2000-01-04 14:10:36 +0000 |
commit | 71adbdbe1afd64efe13457f38b20baa8dd9758e0 (patch) | |
tree | 47dd552dcb36bf6432f61110a1657f7e00c3ef82 /usr.sbin/btxld/elfh.h | |
parent | 3428629295a631b7efb9f963a5747ded4524f288 (diff) | |
download | FreeBSD-src-71adbdbe1afd64efe13457f38b20baa8dd9758e0.zip FreeBSD-src-71adbdbe1afd64efe13457f38b20baa8dd9758e0.tar.gz |
o Allow btxld to be compiled on 64-bit machines
o s/unsigned/unsigned int/g
o Add -Wall
btxld can now be built as a cross-tool for cross-building i386/pc98 on
platforms that don't have btxld (such as alpha).
Diffstat (limited to 'usr.sbin/btxld/elfh.h')
-rw-r--r-- | usr.sbin/btxld/elfh.h | 4 |
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 */ |