diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/hush.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c index 584af9e06..087636b6d 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -82,7 +82,11 @@ * aaa */ #include "busybox.h" /* for APPLET_IS_NOFORK/NOEXEC */ -#include <malloc.h> /* for malloc_trim */ +#if !(defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) \ + || defined(__APPLE__) \ + ) +# include <malloc.h> /* for malloc_trim */ +#endif #include <glob.h> /* #include <dmalloc.h> */ #if ENABLE_HUSH_CASE |