Commit 50c74579 by Douglas B Rupp Committed by Richard Kenner

* xatexit.c [VMS]: Include stdlib.h and unixlib.h.

From-SVN: r50575
parent 1682dbb1
2002-03-11 Douglas B Rupp <rupp@gnat.com>
* xatexit.c [VMS]: Include stdlib.h and unixlib.h.
2002-03-06 Jim Blandy <jimb@redhat.com> 2002-03-06 Jim Blandy <jimb@redhat.com>
* splay-tree.c (splay_tree_xmalloc_allocate, * splay-tree.c (splay_tree_xmalloc_allocate,
......
...@@ -33,8 +33,13 @@ failure. If you use @code{xatexit} to register functions, you must use ...@@ -33,8 +33,13 @@ failure. If you use @code{xatexit} to register functions, you must use
#define size_t unsigned long #define size_t unsigned long
#endif #endif
#if VMS
#include <stdlib.h>
#include <unixlib.h>
#else
/* For systems with larger pointers than ints, this must be declared. */ /* For systems with larger pointers than ints, this must be declared. */
PTR malloc PARAMS ((size_t)); PTR malloc PARAMS ((size_t));
#endif
static void xatexit_cleanup PARAMS ((void)); static void xatexit_cleanup PARAMS ((void));
......
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