diff options
author | Jeff Law <law@gcc.gnu.org> | 1999-09-06 23:49:18 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-09-06 23:49:18 -0600 |
commit | c5c7673583c6310e7f8e45704fdc4aadff33e393 (patch) | |
tree | f1a67b6ea75a7f0da3f06e0a1c60b213f4403168 /gcc/system.h | |
parent | ad85216ece38be37dacbbb3fa7bb7db69aa33a4b (diff) | |
download | gcc-c5c7673583c6310e7f8e45704fdc4aadff33e393.tar.gz |
Merge in gcc2-ss-010999
From-SVN: r29150
Diffstat (limited to 'gcc/system.h')
-rw-r--r-- | gcc/system.h | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/gcc/system.h b/gcc/system.h index 41282bf56ba..7538071e7c3 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -1,5 +1,5 @@ -/* system.h - Get common system includes and various definitions and - declarations based on autoconf macros. +/* Get common system includes and various definitions and declarations based + on autoconf macros. Copyright (C) 1998, 1999 Free Software Foundation, Inc. This file is part of GNU CC. @@ -19,6 +19,7 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + #ifndef __GCC_SYSTEM_H__ #define __GCC_SYSTEM_H__ @@ -121,7 +122,10 @@ extern int fputs_unlocked PROTO ((const char *, FILE *)); #define ISDIGIT(c) ((unsigned) (c) - '0' <= 9) +#ifdef HAVE_SYS_TYPES_H #include <sys/types.h> +#endif + #include <errno.h> #ifndef errno @@ -337,6 +341,22 @@ extern char *sbrk (); extern char *strstr (); #endif +#ifdef HAVE_MALLOC_H +#include <malloc.h> +#endif + +#ifdef NEED_DECLARATION_MALLOC +extern char *malloc (); +#endif + +#ifdef NEED_DECLARATION_CALLOC +extern char *calloc (); +#endif + +#ifdef NEED_DECLARATION_REMALLOC +extern char *realloc (); +#endif + #ifdef HAVE_STRERROR # ifdef NEED_DECLARATION_STRERROR # ifndef strerror |