summaryrefslogtreecommitdiff
path: root/libgomp/teams.c
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2018-11-08 21:39:11 +0000
committerRainer Orth <ro@gcc.gnu.org>2018-11-08 21:39:11 +0000
commit2033f45beb8097d778281e7c49068a8817796558 (patch)
tree4a0aefba885dcc588c5da4e58238a3a6659ae5fc /libgomp/teams.c
parent8991d77974c3278cc7b9bd1352f88ced790d27fa (diff)
downloadgcc-2033f45beb8097d778281e7c49068a8817796558.tar.gz
Fix Solaris build with OpenMP 5.0
* affinity.c: Include <string.h>, <stdio.h>. (gomp_display_affinity_place): Remove cpusetp. * teams.c: Include <limits.h>. From-SVN: r265938
Diffstat (limited to 'libgomp/teams.c')
-rw-r--r--libgomp/teams.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgomp/teams.c b/libgomp/teams.c
index 5aa0eae68d3..8ef80eb23f2 100644
--- a/libgomp/teams.c
+++ b/libgomp/teams.c
@@ -26,6 +26,7 @@
/* This file handles the host TEAMS construct. */
#include "libgomp.h"
+#include <limits.h>
static unsigned gomp_num_teams = 1, gomp_team_num = 0;