aboutsummaryrefslogtreecommitdiff
path: root/libssp/ssp.c
diff options
context:
space:
mode:
authorOzkan Sezer <sezeroz@gmail.com>2009-04-13 10:37:17 +0000
committerKai Tietz <ktietz@gcc.gnu.org>2009-04-13 12:37:17 +0200
commit266aa80543a9dbf9bc53d8d7123f847124740b73 (patch)
tree335455541813df2f5b8923adfb23ab8d29c6d755 /libssp/ssp.c
parent59a1171ffc690c8f57c1b43479b84fd888e7591f (diff)
downloadgcc-266aa80543a9dbf9bc53d8d7123f847124740b73.zip
gcc-266aa80543a9dbf9bc53d8d7123f847124740b73.tar.gz
gcc-266aa80543a9dbf9bc53d8d7123f847124740b73.tar.bz2
re PR other/39062 (libssp/ssp.c needs malloc.h for mingw)
2009-04-13 Ozkan Sezer <sezeroz@gmail.com> PR target/39062 * ssp.c: Also include malloc.h for alloca(). MinGW needs it. * configure.ac: Also check for malloc.h. * configure: Regenerated. * config.h.in: Regenerated. From-SVN: r146000
Diffstat (limited to 'libssp/ssp.c')
-rw-r--r--libssp/ssp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libssp/ssp.c b/libssp/ssp.c
index e7babe2..aaa5a32 100644
--- a/libssp/ssp.c
+++ b/libssp/ssp.c
@@ -36,6 +36,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#endif
+#ifdef HAVE_MALLOC_H
+# include <malloc.h>
+#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif