about summary refs log tree commit diff
path: root/nptl/tst-barrier4.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-02-18 18:17:05 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-02-18 18:17:05 +0530
commitffaa74cf68a370e232279a9a9b0a02ade287cc99 (patch)
treeb5e0d38ef27cac59fc62aaa66b40582c89fd060e /nptl/tst-barrier4.c
parentbe179c8a36fc171acff0634ac50ad31269ad4742 (diff)
downloadglibc-ffaa74cf68a370e232279a9a9b0a02ade287cc99.tar.gz
glibc-ffaa74cf68a370e232279a9a9b0a02ade287cc99.tar.xz
glibc-ffaa74cf68a370e232279a9a9b0a02ade287cc99.zip
Fix build warnings in some test cases
Include stdlib.h to get declaration of exit(3)
Diffstat (limited to 'nptl/tst-barrier4.c')
-rw-r--r--nptl/tst-barrier4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/tst-barrier4.c b/nptl/tst-barrier4.c
index 8b5b153219..2836fb341b 100644
--- a/nptl/tst-barrier4.c
+++ b/nptl/tst-barrier4.c
@@ -20,6 +20,7 @@
 #include <errno.h>
 #include <pthread.h>
 #include <stdio.h>
+#include <stdlib.h>
 
 
 static pthread_barrier_t b1;