X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ftimegm.c;h=67230cf34b7ea19b9893c82c12f9dabaf5d2fe2b;hb=810a812bee90d6bab12e9628dc7745eea49f188c;hp=656df1c95494f3441b4054d025df482966962e5e;hpb=0632e115747ff96e93330c88f536d7354a7ce507;p=gnulib.git diff --git a/lib/timegm.c b/lib/timegm.c index 656df1c95..67230cf34 100644 --- a/lib/timegm.c +++ b/lib/timegm.c @@ -1,6 +1,6 @@ /* Convert UTC calendar time to simple time. Like mktime but assumes UTC. - Copyright (C) 1994, 1997, 2003, 2004, 2006 Free Software + Copyright (C) 1994, 1997, 2003, 2004, 2006, 2007 Free Software Foundation, Inc. This file is part of the GNU C Library. This program is free software; you can redistribute it and/or modify @@ -17,12 +17,13 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#ifdef _LIBC -# include -#else +#ifndef _LIBC # include -# include "timegm.h" -# include +#endif + +#include + +#ifndef _LIBC # undef __gmtime_r # define __gmtime_r gmtime_r # define __mktime_internal mktime_internal