From 8a69a229233a57ebf64f7adb2bbd42d60ebb5b4d Mon Sep 17 00:00:00 2001 From: phk Date: Thu, 26 Apr 2007 06:54:58 +0000 Subject: [PATCH] Add compat trick for clock_gettime() Submitted by: Pierre Queinnec git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1368 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_backend.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/varnish-cache/bin/varnishd/cache_backend.c b/varnish-cache/bin/varnishd/cache_backend.c index e5ad676e..3570397d 100644 --- a/varnish-cache/bin/varnishd/cache_backend.c +++ b/varnish-cache/bin/varnishd/cache_backend.c @@ -48,6 +48,10 @@ #include #include +#ifndef HAVE_CLOCK_GETTIME +#include "compat/clock_gettime.h" +#endif + #include "heritage.h" #include "shmlog.h" #include "cache.h" -- 2.39.5