From ffaa74cf68a370e232279a9a9b0a02ade287cc99 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Mon, 18 Feb 2013 18:17:05 +0530 Subject: Fix build warnings in some test cases Include stdlib.h to get declaration of exit(3) --- nptl/sysdeps/pthread/tst-timer.c | 1 + nptl/tst-barrier4.c | 1 + nptl/tst-robust7.c | 1 + 3 files changed, 3 insertions(+) (limited to 'nptl') diff --git a/nptl/sysdeps/pthread/tst-timer.c b/nptl/sysdeps/pthread/tst-timer.c index f46addd791..fa1b6e72a3 100644 --- a/nptl/sysdeps/pthread/tst-timer.c +++ b/nptl/sysdeps/pthread/tst-timer.c @@ -22,6 +22,7 @@ #include #include #include +#include static void 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 #include #include +#include static pthread_barrier_t b1; diff --git a/nptl/tst-robust7.c b/nptl/tst-robust7.c index e64a4fc86d..ed1857c4ec 100644 --- a/nptl/tst-robust7.c +++ b/nptl/tst-robust7.c @@ -20,6 +20,7 @@ #include #include #include +#include static pthread_barrier_t b; -- cgit v1.2.3