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

From-SVN: r50575
This commit is contained in:
Douglas B Rupp 2002-03-11 07:47:53 -05:00 committed by Richard Kenner
parent 1682dbb1d7
commit 50c7457998
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
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>
* splay-tree.c (splay_tree_xmalloc_allocate,

View File

@ -33,8 +33,13 @@ failure. If you use @code{xatexit} to register functions, you must use
#define size_t unsigned long
#endif
#if VMS
#include <stdlib.h>
#include <unixlib.h>
#else
/* For systems with larger pointers than ints, this must be declared. */
PTR malloc PARAMS ((size_t));
#endif
static void xatexit_cleanup PARAMS ((void));