From: Imre Kaloz Date: Sun, 9 Dec 2007 17:59:58 +0000 (+0100) Subject: fdisk: fix building for AVR32 and CRIS X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0c72ff87dcd7614c2ac6169f88e9283ed03213e;p=util-linux fdisk: fix building for AVR32 and CRIS The following simple patch fixes fdisk compilation for the AVR32 and CRIS architectures. Signed-off-by: Imre Kaloz Signed-off-by: Karel Zak --- diff --git a/fdisk/fdiskbsdlabel.h b/fdisk/fdiskbsdlabel.h index 1838dca8..461c2acc 100644 --- a/fdisk/fdiskbsdlabel.h +++ b/fdisk/fdiskbsdlabel.h @@ -46,7 +46,9 @@ #define BSD_LINUX_BOOTDIR "/usr/ucb/mdec" -#if defined (i386) || defined (__sparc__) || defined (__arm__) || defined (__mips__) || defined (__s390__) || defined (__sh__) || defined(__x86_64__) +#if defined (i386) || defined (__sparc__) || defined (__arm__) || \ + defined (__mips__) || defined (__s390__) || defined (__sh__) || \ + defined(__x86_64__) || defined (__avr32__) || defined(__cris__) #define BSD_LABELSECTOR 1 #define BSD_LABELOFFSET 0 #elif defined (__alpha__) || defined (__powerpc__) || defined (__ia64__) || defined (__hppa__)