From 01bda5de6b983cf331c42cb64fa2ccd4308b423d Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 2 Jan 2001 01:16:38 +0000 Subject: [PATCH] Better dmalloc handling --- busybox.h | 10 +++++----- include/busybox.h | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) 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);