Commit 19d18534 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Include <malloc.h> only if we really need it; we must be configured

with --with-debug-calls and mallinfo() must be found.
parent 0d3249b0
/*
* $Id: debug.c,v 1.7 2003/07/13 07:01:29 ceder Exp $
* $Id: debug.c,v 1.8 2003/07/15 22:48:25 ceder Exp $
* Copyright (C) 1991, 1993-1996, 1999, 2001-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -32,7 +32,11 @@
# include <config.h>
#endif
#include <malloc.h>
#ifdef DEBUG_CALLS
# ifdef HAVE_MALLINFO
# include <malloc.h>
# endif
#endif
#include <setjmp.h>
#include "timewrap.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment