time_basic.h: Remove unnecessary dependency on replace.h
authorJelmer Vernooij <jelmer@jelmer.uk>
Mon, 4 Jan 2016 01:07:27 +0000 (01:07 +0000)
committerJelmer Vernooij <jelmer@samba.org>
Wed, 13 Jan 2016 03:43:23 +0000 (04:43 +0100)
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
lib/util/time_basic.h

index 8113bb5e495f45180faa4194870c289aa1958726..095236bf78ad6f4e5abde1439d2e526881c13032 100644 (file)
@@ -22,6 +22,7 @@
  */
 
 #include "replace.h"
+#include "system/time.h"
 #include "lib/util/time_basic.h"
 
 /**
index d48539979787a4756480822651a65af58aefa550..e04cf1c79c5fbbde134632fb6d00e2f575c1f505 100644 (file)
@@ -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