summaryrefslogtreecommitdiff
path: root/libiberty/xatexit.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-11 12:47:53 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-11 12:47:53 +0000
commit241f7b9cb65ee78bf635c071d462862412df982e (patch)
tree05d3b0904b4d998afd6ff712b578f15f105f2c4f /libiberty/xatexit.c
parent3ce510d2588bdea9105691b56c76847f31ca5eef (diff)
downloadgcc-241f7b9cb65ee78bf635c071d462862412df982e.tar.gz
* xatexit.c [VMS]: Include stdlib.h and unixlib.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50575 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/xatexit.c')
-rw-r--r--libiberty/xatexit.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libiberty/xatexit.c b/libiberty/xatexit.c
index 728254b2c0d..abf340737e4 100644
--- a/libiberty/xatexit.c
+++ b/libiberty/xatexit.c
@@ -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));