From: Mark Whitley Date: Thu, 1 Mar 2001 18:51:33 +0000 (-0000) Subject: Applied patch from David Douthitt to fix build error in df.c when X-Git-Tag: 0_50~134 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=39842defdab7ccb3438adf8258a164f39696ccb2;p=oweals%2Fbusybox.git Applied patch from David Douthitt to fix build error in df.c when BB_FEATURE_HUMAN_READABLE was disabled. --- diff --git a/busybox.h b/busybox.h index 53d22115a..99932095b 100644 --- a/busybox.h +++ b/busybox.h @@ -234,10 +234,10 @@ extern int sysinfo (struct sysinfo* info); #ifdef BB_FEATURE_HUMAN_READABLE const char *format(unsigned long val, unsigned long hr); +#endif #define KILOBYTE 1024 #define MEGABYTE (KILOBYTE*1024) #define GIGABYTE (MEGABYTE*1024) -#endif #ifdef BB_FEATURE_BUFFERS_GO_ON_STACK #define RESERVE_BB_BUFFER(buffer,len) char buffer[len] diff --git a/include/busybox.h b/include/busybox.h index 53d22115a..99932095b 100644 --- a/include/busybox.h +++ b/include/busybox.h @@ -234,10 +234,10 @@ extern int sysinfo (struct sysinfo* info); #ifdef BB_FEATURE_HUMAN_READABLE const char *format(unsigned long val, unsigned long hr); +#endif #define KILOBYTE 1024 #define MEGABYTE (KILOBYTE*1024) #define GIGABYTE (MEGABYTE*1024) -#endif #ifdef BB_FEATURE_BUFFERS_GO_ON_STACK #define RESERVE_BB_BUFFER(buffer,len) char buffer[len]