diff options
author | Richard Henderson <rth@cygnus.com> | 1998-01-19 01:37:12 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1998-01-19 01:37:12 -0800 |
commit | c5d0345e8da8122324077c37085cac1f1f99f723 (patch) | |
tree | a0a624be3abbfcf4705747fb6823b02aa214e0e1 /gcc/toplev.c | |
parent | bb02e7eaa4091d27a99567441da4fbf94b9bd2a3 (diff) | |
download | gcc-c5d0345e8da8122324077c37085cac1f1f99f723.zip gcc-c5d0345e8da8122324077c37085cac1f1f99f723.tar.gz gcc-c5d0345e8da8122324077c37085cac1f1f99f723.tar.bz2 |
configure.in: Find declaration for sbrk.
* configure.in: Find declaration for sbrk.
* acconfig.h (NEED_DECLARATION_SBRK): New tag.
* config.in, configure: Rebuild.
* mips-tfile.c: Properly protect declaration of sbrk and free.
* toplev.c: Properly protect declaration of sbrk.
From-SVN: r17417
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 86a6c63..2932f39 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -39,6 +39,9 @@ Boston, MA 02111-1307, USA. */ #ifdef HAVE_SYS_PARAM_H #include <sys/param.h> #endif +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif #undef FLOAT /* This is for hpux. They should change hpux. */ #undef FFS /* Some systems define this in param.h. */ @@ -190,7 +193,7 @@ void print_switch_values (); /* Length of line when printing switch values. */ #define MAX_LINE 75 -#ifdef __alpha +#ifdef NEED_DECLARATION_SBRK extern char *sbrk (); #endif |