Commit 8bddbf35 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Include "malloc.h" instead of <stdlib.h> if USE_GNU_MALLOC is defined.

parent a288f6af
/*
* $Id: ram-smalloc.c,v 0.20 1995/01/01 20:17:27 ceder Exp $
* $Id: ram-smalloc.c,v 0.21 1995/11/02 20:03:30 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -37,12 +37,16 @@
*/
/* #define DEBUG_MALLOC */
static char *rcsid = "$Id: ram-smalloc.c,v 0.20 1995/01/01 20:17:27 ceder Exp $";
static char *rcsid = "$Id: ram-smalloc.c,v 0.21 1995/11/02 20:03:30 ceder Exp $";
#include "rcs.h"
USE(rcsid);
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#ifdef USE_GNU_MALLOC
# include "malloc.h"
#else
# ifdef HAVE_STDLIB_H
# include <stdlib.h>
# endif
#endif
#include <stdio.h>
#include <sys/types.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