diff options
author | Mark Whitley | 2001-03-01 18:51:33 +0000 |
---|---|---|
committer | Mark Whitley | 2001-03-01 18:51:33 +0000 |
commit | 39842defdab7ccb3438adf8258a164f39696ccb2 (patch) | |
tree | 3f5c1fc4e2dfb7967d02b56b23e7b9d801823653 | |
parent | de4406747beb20548e312255e4fc1ae98e426e62 (diff) | |
download | busybox-39842defdab7ccb3438adf8258a164f39696ccb2.zip busybox-39842defdab7ccb3438adf8258a164f39696ccb2.tar.gz |
Applied patch from David Douthitt to fix build error in df.c when
BB_FEATURE_HUMAN_READABLE was disabled.
-rw-r--r-- | busybox.h | 2 | ||||
-rw-r--r-- | include/busybox.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 53d2211..9993209 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] |