From 1860e98d31fc85f02e57cb9d035d664321f90db3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jelmer=20Vernoo=C4=B3?= <jelmer@jelmer.uk>
Date: Mon, 4 Jan 2016 01:07:27 +0000
Subject: [PATCH] time_basic.h: Remove unnecessary dependency on replace.h
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Forward declare struct timeval

Signed-off-by: Jelmer Vernooij <jelmer@jelmer.uk>
Reviewed-By: Andrew Bartlett <abartlet@samba.org>
Reviewed-By: Stefan Metzmacher <metze@samba.org>
---
 lib/util/time_basic.c | 1 +
 lib/util/time_basic.h | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)

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