diff --git a/busybox.h b/busybox.h index ae256fe7b..a89ac3694 100644 --- a/busybox.h +++ b/busybox.h @@ -26,10 +26,6 @@ #include "Config.h" -#ifdef DMALLOC -#include "dmalloc.h" -#endif - #include #include #include @@ -37,12 +33,16 @@ #include #include #include +#include #include #include /* for the _syscall() macros */ #include #include +#ifdef DMALLOC +#include "dmalloc.h" +#endif /* Some useful definitions */ #define FALSE ((int) 0) @@ -183,7 +183,7 @@ extern void xregcomp(regex_t *preg, const char *regex, int cflags); extern FILE *wfopen(const char *path, const char *mode); extern FILE *xfopen(const char *path, const char *mode); -#ifndef DMALLOC +#ifndef DMALLOC extern void *xmalloc (size_t size); extern void *xrealloc(void *old, size_t size); extern void *xcalloc(size_t nmemb, size_t size); diff --git a/include/busybox.h b/include/busybox.h index ae256fe7b..a89ac3694 100644 --- a/include/busybox.h +++ b/include/busybox.h @@ -26,10 +26,6 @@ #include "Config.h" -#ifdef DMALLOC -#include "dmalloc.h" -#endif - #include #include #include @@ -37,12 +33,16 @@ #include #include #include +#include #include #include /* for the _syscall() macros */ #include #include +#ifdef DMALLOC +#include "dmalloc.h" +#endif /* Some useful definitions */ #define FALSE ((int) 0) @@ -183,7 +183,7 @@ extern void xregcomp(regex_t *preg, const char *regex, int cflags); extern FILE *wfopen(const char *path, const char *mode); extern FILE *xfopen(const char *path, const char *mode); -#ifndef DMALLOC +#ifndef DMALLOC extern void *xmalloc (size_t size); extern void *xrealloc(void *old, size_t size); extern void *xcalloc(size_t nmemb, size_t size);