summaryrefslogtreecommitdiff
path: root/gcc/acconfig.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1998-01-19 01:37:12 -0800
committerRichard Henderson <rth@gcc.gnu.org>1998-01-19 01:37:12 -0800
commitc5d0345e8da8122324077c37085cac1f1f99f723 (patch)
treea0a624be3abbfcf4705747fb6823b02aa214e0e1 /gcc/acconfig.h
parentbb02e7eaa4091d27a99567441da4fbf94b9bd2a3 (diff)
downloadgcc-c5d0345e8da8122324077c37085cac1f1f99f723.tar.gz
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/acconfig.h')
-rw-r--r--gcc/acconfig.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/acconfig.h b/gcc/acconfig.h
index 6d550a8b999..93214920d2e 100644
--- a/gcc/acconfig.h
+++ b/gcc/acconfig.h
@@ -13,10 +13,10 @@
/* Whether free must be declared even if <stdlib.h> is included. */
#undef NEED_DECLARATION_FREE
-/* Whether index must be declared even if <stdlib.h> is included. */
+/* Whether index must be declared even if <string.h> is included. */
#undef NEED_DECLARATION_INDEX
-/* Whether rindex must be declared even if <stdlib.h> is included. */
+/* Whether rindex must be declared even if <string.h> is included. */
#undef NEED_DECLARATION_RINDEX
/* Whether getenv must be declared even if <stdlib.h> is included. */
@@ -24,4 +24,7 @@
/* Whether atol must be declared even if <stdlib.h> is included. */
#undef NEED_DECLARATION_ATOL
+
+/* Whether sbrk must be declared even if <unistd.h> is included. */
+#undef NEED_DECLARATION_SBRK
@TOP@