summaryrefslogtreecommitdiff
path: root/libgomp/team.c
diff options
context:
space:
mode:
authorsje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-20 18:17:28 +0000
committersje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-20 18:17:28 +0000
commitef2e6d4f06a1b3f6ed317e33765b6101b3acef5a (patch)
tree520d9344717e363154592ca31cb58e0a83cb3f98 /libgomp/team.c
parent6e73639a226b8c3b97e0e1f677e30e45a3870d28 (diff)
downloadgcc-ef2e6d4f06a1b3f6ed317e33765b6101b3acef5a.tar.gz
PR libgomp/25877
* team.c: Add include of alloca.h. * configure.ac: Add check for alloca.h. * configure: Regenerate. * config.h.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110031 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/team.c')
-rw-r--r--libgomp/team.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgomp/team.c b/libgomp/team.c
index 1d8efb688af..c99413502d5 100644
--- a/libgomp/team.c
+++ b/libgomp/team.c
@@ -32,6 +32,10 @@
#include <stdlib.h>
#include <string.h>
+#ifdef HAVE_ALLOCA_H
+# include <alloca.h>
+#endif
+
/* This array manages threads spawned from the top level, which will
return to the idle loop once the current PARALLEL construct ends. */