--- C:\builds\redland-1.0.8_orig\raptor\src\raptor_serialize_rss.c Wed Jun 18 17:42:54 2008 +++ C:\builds\redland-1.0.8_good\raptor\src\raptor_serialize_rss.c Fri Jul 25 09:32:52 2008 @@ -1407,11 +1407,15 @@ raptor_rss_item* item; raptor_rss_model* rss_model; struct timeval tv; - time_t now; + time_t now = 1; + +#ifdef HAVE_GETTIMEOFDAY + if(!gettimeofday(&tv, NULL)) { + now=tv.tv_sec; + } else + now=1; +#endif - gettimeofday(&tv, NULL); - now=tv.tv_sec; - is_atom=rss_serializer->is_atom; rss_model=&rss_serializer->model;