diff options
-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 |