Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgor Duda <deo@logos-m.ru>2001-04-24 19:25:31 +0400
committerEgor Duda <deo@logos-m.ru>2001-04-24 19:25:31 +0400
commit8db71e01698f00c71eed124b1609f019776900a1 (patch)
tree3614b12bd953007317cacf6e89eecccc24497c4a /winsup/cygwin/debug.h
parent19a90cfeaf3f3ed0de79f061a76cd5cabfd0f021 (diff)
* dlmalloc.c: New file. Port of Doug Lea's malloc
* dlmalloc.h: Ditto. * Makefile.in: Add support for MALLOC_DEBUG * config.h.in: Ditto. * winsup.h: Ditto. * configure.in: Add --enable-malloc-debugging option. * configure: Regenerate. * debug.h: Include declarations for debugging malloc. * tty.cc (grantpt): Fix definition. (unlockpt): Ditto.
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 ();\