From cb176ce9d08999e050354c96e3f068e9f6bc3448 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Mon, 14 Mar 2005 23:51:24 +0000 Subject: [PATCH] Use proper prototype CPP guards, reported by Dave Love . --- lib/timegm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/timegm.h b/lib/timegm.h index 4d30b211f1..96a4dfc784 100644 --- a/lib/timegm.h +++ b/lib/timegm.h @@ -1,6 +1,6 @@ /* Convert UTC calendar time to simple time. Like mktime but assumes UTC. - Copyright (C) 2003 Free Software Foundation, Inc. + Copyright (C) 2003, 2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -18,6 +18,6 @@ #include -#ifndef HAVE_DECL_TIMEGM +#if defined HAVE_DECL_TIMEGM && !HAVE_DECL_TIMEGM time_t timegm (struct tm *tm); #endif -- 2.30.2