From 1230dd8c6ee7265e4d3084cea0079e8d9274014f Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Tue, 15 Apr 2008 12:26:44 -0400 Subject: Get clients built on darwin. --- tests/getnast.c | 1 + tests/mtstressnast.c | 2 +- tests/randnast.c | 2 +- tests/stressnast.c | 2 +- tests/updnast.c | 1 + 5 files changed, 5 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/getnast.c b/tests/getnast.c index 904c01f..392df32 100644 --- a/tests/getnast.c +++ b/tests/getnast.c @@ -3,6 +3,7 @@ #include #include #include +#include char *progname; diff --git a/tests/mtstressnast.c b/tests/mtstressnast.c index 913312e..513d426 100644 --- a/tests/mtstressnast.c +++ b/tests/mtstressnast.c @@ -43,7 +43,7 @@ io_looper(void *arg) after.tv_usec += 1000000; } fprintf(stderr, "Request time: %2ld.%06ld seconds.\n", - after.tv_sec, after.tv_usec); + after.tv_sec, (unsigned long)after.tv_usec); } } } diff --git a/tests/randnast.c b/tests/randnast.c index dd39fc6..58fe044 100644 --- a/tests/randnast.c +++ b/tests/randnast.c @@ -61,7 +61,7 @@ main(int argc, char *argv[]) after.tv_usec += 1000000; } fprintf(stderr, "Request time: %2ld.%06ld seconds.\n", - after.tv_sec, after.tv_usec); + after.tv_sec, (unsigned long)after.tv_usec); } } nast_sphincter_close(nasthole); diff --git a/tests/stressnast.c b/tests/stressnast.c index ad17a51..b95b63d 100644 --- a/tests/stressnast.c +++ b/tests/stressnast.c @@ -52,7 +52,7 @@ main(int argc, char *argv[]) after.tv_usec += 1000000; } fprintf(stderr, "Request time: %2ld.%06ld seconds.\n", - after.tv_sec, after.tv_usec); + after.tv_sec, (unsigned long)after.tv_usec); } } nast_sphincter_close(nasthole); diff --git a/tests/updnast.c b/tests/updnast.c index 9acef66..e248cc5 100644 --- a/tests/updnast.c +++ b/tests/updnast.c @@ -3,6 +3,7 @@ #include #include #include +#include char *progname; -- cgit v1.2.3