diff options
Diffstat (limited to 'src/common/util.c')
-rw-r--r-- | src/common/util.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/util.c b/src/common/util.c index 1e25e294a2..d22fce57a7 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -68,6 +68,9 @@ const char util_c_id[] = "$Id$"; #ifdef HAVE_TIME_H #include <time.h> #endif +#if defined(HAVE_MALLOC_H) && defined(HAVE_MALLINFO) +#include <malloc.h> +#endif #ifndef O_BINARY #define O_BINARY 0 |