diff options
author | ed <ed@FreeBSD.org> | 2010-06-13 11:27:44 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2010-06-13 11:27:44 +0000 |
commit | c6647a5f305eb14eb4b294954089207261146752 (patch) | |
tree | cf194eb77d8df6237bc1628c92581a76a285210f | |
parent | 04e875d138b0f0687b75c3c2bd7ae8a22dfc293e (diff) | |
download | FreeBSD-src-c6647a5f305eb14eb4b294954089207261146752.zip FreeBSD-src-c6647a5f305eb14eb4b294954089207261146752.tar.gz |
Unbreak the build on less common architectures.
Submitted by: Andreas Tobler <andreast list fgznet ch>
-rw-r--r-- | usr.sbin/sysinstall/install.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c index 5418bdf..3a77f8f 100644 --- a/usr.sbin/sysinstall/install.c +++ b/usr.sbin/sysinstall/install.c @@ -628,8 +628,11 @@ installExpress(dialogMenuItem *self) int installStandard(dialogMenuItem *self) { - int i, tries = 0; + int i; +#ifdef WITH_SLICES + int tries = 0; Device **devs; +#endif variable_set2(SYSTEM_STATE, "standard", 0); dialog_clear_norefresh(); @@ -874,7 +877,9 @@ installConfigure(void) int installFixupBase(dialogMenuItem *self) { +#if defined(__i386__) || defined(__amd64__) FILE *fp; +#endif #ifdef __ia64__ const char *efi_mntpt; #endif |