From 4c0b19277a495b33869f447166d03a0e1e163b72 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 13 Sep 2006 10:51:26 +0000 Subject: r18460: split out timegm test and only add timegm.o when needed metze (This used to be commit f9bff4dbdad8c7acc649d13a5666b58967bf5d92) --- source4/lib/replace/timegm.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'source4/lib/replace/timegm.c') diff --git a/source4/lib/replace/timegm.c b/source4/lib/replace/timegm.c index bd20da703f..ff90626d44 100644 --- a/source4/lib/replace/timegm.c +++ b/source4/lib/replace/timegm.c @@ -36,17 +36,7 @@ */ #include "replace.h" -#include - -#ifndef HAVE_TIMEGM - -#ifdef HAVE_SYS_TIME_H -#include -#endif - -#ifdef HAVE_TIME_H -#include -#endif +#include "system/time.h" static int is_leap(unsigned y) { @@ -76,5 +66,3 @@ time_t timegm(struct tm *tm) res += tm->tm_sec; return res; } - -#endif /* HAVE_TIMEGM */ -- cgit