diff --git a/src/server/distrenjob.c b/src/server/distrenjob.c --- a/src/server/distrenjob.c +++ b/src/server/distrenjob.c @@ -225,6 +225,11 @@ int distrenjob_unserialize(struct distre xmlchar = xmlGetProp(xmlnode, (xmlChar *)"total_render_time"); if(xmlchar) { + /* + * even though GCC says this is implicitly declared, POSIX + * requires that time.h declare this function. Thus, we don't + * have to worry about the warning. + */ if(strptime((char *)xmlchar, "%D %T", &tm)) dj->total_render_time = mktime(&tm); xmlFree(xmlchar);