]> sjero.net Git - wget/blobdiff - src/sysdep.h
[svn] Check for timegm and use it where available.
[wget] / src / sysdep.h
index 408083f885cc613fe35acc5324ae1d9da21831ee..44eeacde5fc06d244c81d7254fe770a3245b0621 100644 (file)
@@ -131,6 +131,10 @@ int strncasecmp ();
 #ifndef HAVE_STRPTIME
 char *strptime ();
 #endif
+#ifndef HAVE_TIMEGM
+# include <time.h>
+time_t timegm (struct tm *);
+#endif
 
 /* These are defined in snprintf.c.  It would be nice to have an
    snprintf.h, though.  */