summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/debug.h')
-rw-r--r--winsup/cygwin/debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/debug.h b/winsup/cygwin/debug.h
index 02289eeb5..9491b60be 100644
--- a/winsup/cygwin/debug.h
+++ b/winsup/cygwin/debug.h
@@ -9,6 +9,8 @@ details. */
#ifndef MALLOC_DEBUG
#define MALLOC_CHECK do {} while (0)
#else
+#include <stdlib.h>
+#include "dlmalloc.h"
#define MALLOC_CHECK ({\
debug_printf ("checking malloc pool");\
(void)mallinfo ();\