diff options
author | Stef Walter <stef@memberwebs.com> | 2006-02-24 02:52:40 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2006-02-24 02:52:40 +0000 |
commit | 5a5d0ee5b164010222b50d9fb0a370f3b095a786 (patch) | |
tree | 8a5973ccecc357b0c73a39be1fcf06a7bc5b17e0 | |
parent | f8ebebce3ba6036a0425186d86c2ef19e935ac37 (diff) |
Add dmalloc support to clamsmtp.
-rw-r--r-- | common/compat.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/compat.h b/common/compat.h index 746cd4f..44c45e0 100644 --- a/common/compat.h +++ b/common/compat.h @@ -44,6 +44,7 @@ #endif #include <sys/types.h> +#include <stdlib.h> #ifndef HAVE_STDARG_H #error ERROR: Must have a working stdarg.h header @@ -51,6 +52,10 @@ #include <stdarg.h> #endif +#ifdef WITH_DMALLOC +#include "dmalloc.h" +#endif + #ifndef HAVE_REALLOCF void* reallocf(void* p, size_t sz); #endif |