From: Jelmer Vernooij Date: Mon, 4 Jan 2016 01:07:27 +0000 (+0000) Subject: time_basic.h: Remove unnecessary dependency on replace.h X-Git-Url: http://git.samba.org/?p=obnox%2Fsamba%2Fsamba-obnox.git;a=commitdiff_plain;h=1860e98d31fc85f02e57cb9d035d664321f90db3 time_basic.h: Remove unnecessary dependency on replace.h Forward declare struct timeval Signed-off-by: Jelmer Vernooij Reviewed-By: Andrew Bartlett Reviewed-By: Stefan Metzmacher --- diff --git a/lib/util/time_basic.c b/lib/util/time_basic.c index 8113bb5e495..095236bf78a 100644 --- a/lib/util/time_basic.c +++ b/lib/util/time_basic.c @@ -22,6 +22,7 @@ */ #include "replace.h" +#include "system/time.h" #include "lib/util/time_basic.h" /** diff --git a/lib/util/time_basic.h b/lib/util/time_basic.h index d4853997978..e04cf1c79c5 100644 --- a/lib/util/time_basic.h +++ b/lib/util/time_basic.h @@ -24,8 +24,7 @@ #ifndef _SAMBA_TIME_BASIC_H_ #define _SAMBA_TIME_BASIC_H_ -#include "replace.h" -#include "system/time.h" +struct timeval; /** a gettimeofday wrapper