aboutsummaryrefslogtreecommitdiff
path: root/libgomp/team.c
diff options
context:
space:
mode:
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 1d8efb6..c994135 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. */