From 03b7d7deefe5fe3a76844a4fb7cde7979ceebea3 Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Sun, 13 Jun 2010 11:27:44 +0000 Subject: [PATCH] Unbreak the build on less common architectures. Submitted by: Andreas Tobler --- usr.sbin/sysinstall/install.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c index 5418bdf00c6..3a77f8ffcc7 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