From b191632701c8b5fb8d89109494a2251416bd6a93 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 27 Sep 2015 00:58:00 +0200 Subject: [PATCH] lib: Fix the build on Solaris Signed-off-by: Volker Lendecke Reviewed-by: Michael Adam --- lib/util/time_basic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/time_basic.c b/lib/util/time_basic.c index e4b088610b7..8113bb5e495 100644 --- a/lib/util/time_basic.c +++ b/lib/util/time_basic.c @@ -29,7 +29,7 @@ a gettimeofday wrapper **/ _PUBLIC_ void GetTimeOfDay(struct timeval *tval) { -#ifdef HAVE_GETTIMEOFDAY_TZ +#if defined(HAVE_GETTIMEOFDAY_TZ) || defined(HAVE_GETTIMEOFDAY_TZ_VOID) gettimeofday(tval,NULL); #else gettimeofday(tval); -- 2.11.4.GIT