summaryrefslogtreecommitdiff
path: root/libgomp/testsuite/libgomp.c/affinity-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgomp/testsuite/libgomp.c/affinity-1.c')
-rw-r--r--libgomp/testsuite/libgomp.c/affinity-1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgomp/testsuite/libgomp.c/affinity-1.c b/libgomp/testsuite/libgomp.c/affinity-1.c
index a1a2a12e56c..21f344cada3 100644
--- a/libgomp/testsuite/libgomp.c/affinity-1.c
+++ b/libgomp/testsuite/libgomp.c/affinity-1.c
@@ -31,7 +31,7 @@
#ifdef DO_FORK
#include <signal.h>
-pid_t waitpid (pid_t, int *, int);
+#include <sys/wait.h>
#endif
#ifdef HAVE_PTHREAD_AFFINITY_NP
#include <sched.h>