Commit ad3ef78e by Mark Mitchell Committed by Mark Mitchell

splay-tree.c: Tweak include directives to make sure declarations of xmalloc and free are...

	* splay-tree.c: Tweak include directives to make sure declarations of
	xmalloc and free are available.

From-SVN: r23358
parent 4f4b3679
1998-10-26 Mark Mitchell <mark@markmitchell.com>
* splay-tree.c: Tweak include directives to make sure declarations of
xmalloc and free are available.
1998-10-25 Mark Mitchell <mark@markmitchell.com> 1998-10-25 Mark Mitchell <mark@markmitchell.com>
* cplus-dem.c (gnu_special): Fix handling of virtual tables in * cplus-dem.c (gnu_special): Fix handling of virtual tables in
......
...@@ -23,8 +23,18 @@ ...@@ -23,8 +23,18 @@
Lewis, Harry R. and Denenberg, Larry. Data Structures and Their Lewis, Harry R. and Denenberg, Larry. Data Structures and Their
Algorithms. Harper-Collins, Inc. 1991. */ Algorithms. Harper-Collins, Inc. 1991. */
#if defined (IN_GCC) || defined (HAVE_CONFIG_H)
#include "config.h"
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifndef IN_GCC #ifndef IN_GCC
#include "libiberty.h" #include "libiberty.h"
#else /* IN_GCC */
extern char* xmalloc ();
#endif /* IN_GCC */ #endif /* IN_GCC */
#include "splay-tree.h" #include "splay-tree.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