From: Thomas De Schampheleire Date: Fri, 29 Nov 2013 04:19:00 +0000 (-0700) Subject: Bug 3967: ipc/Kid.cc compilation failure: 'time' was not declared in this scope X-Git-Tag: SQUID_3_3_11~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6e30cf3a855e651f61663fcb8b465b0fec2a749;p=thirdparty%2Fsquid.git Bug 3967: ipc/Kid.cc compilation failure: 'time' was not declared in this scope Function time() comes from , so add the necessary #include. --- diff --git a/src/ipc/Kid.cc b/src/ipc/Kid.cc index ee54cfb114..79c38e3095 100644 --- a/src/ipc/Kid.cc +++ b/src/ipc/Kid.cc @@ -7,6 +7,10 @@ #include "globals.h" #include "ipc/Kid.h" +#if HAVE_TIME_H +#include +#endif + #if HAVE_SYS_WAIT_H #include #endif