From c486a873db3dd9f11f2bb103f9d48d442ee883ae Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sun, 25 Oct 2009 17:51:21 +0000 Subject: =?UTF-8?q?2009-10-25=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * psxtime/test.c: Include . Conditionally add local prototype for adjtime() if sys/time.h doesn't supply it. --- testsuites/psxtests/psxtime/test.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'testsuites/psxtests/psxtime') diff --git a/testsuites/psxtests/psxtime/test.c b/testsuites/psxtests/psxtime/test.c index ca6bae2d06..da0b0b9f6e 100644 --- a/testsuites/psxtests/psxtime/test.c +++ b/testsuites/psxtests/psxtime/test.c @@ -22,6 +22,11 @@ #include #include #include +#include + +#if !HAVE_DECL_ADJTIME +extern int adjtime(const struct timeval *delta, struct timeval *olddelta); +#endif void test_adjtime(void); void check_a_tod( -- cgit v1.2.3