* remote.c (minitelnet): Don't redeclare escape_count, echo_check.
[binutils-gdb.git] / libiberty / xatexit.c
index 728254b2c0d818bf54e6ae172ccf162d291716b8..075599c61f95fd1580e1d69b0b3c85f4fe29a543 100644 (file)
@@ -27,14 +27,19 @@ failure.  If you use @code{xatexit} to register functions, you must use
 
 #include <stdio.h>
 
-#ifdef __STDC__
+#ifdef ANSI_PROTOTYPES
 #include <stddef.h>
 #else
 #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));