From 39842defdab7ccb3438adf8258a164f39696ccb2 Mon Sep 17 00:00:00 2001 From: Mark Whitley Date: Thu, 1 Mar 2001 18:51:33 +0000 Subject: [PATCH] Applied patch from David Douthitt to fix build error in df.c when BB_FEATURE_HUMAN_READABLE was disabled. --- busybox.h | 2 +- include/busybox.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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] -- 2.25.1