r1368 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Thu Apr 26 08:54:58 CEST 2007


Author: phk
Date: 2007-04-26 08:54:58 +0200 (Thu, 26 Apr 2007)
New Revision: 1368

Modified:
   trunk/varnish-cache/bin/varnishd/cache_backend.c
Log:
Add compat trick for clock_gettime()

Submitted by:	Pierre Queinnec <pierre.queinnec at zenika.com>



Modified: trunk/varnish-cache/bin/varnishd/cache_backend.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_backend.c	2007-04-24 12:37:58 UTC (rev 1367)
+++ trunk/varnish-cache/bin/varnishd/cache_backend.c	2007-04-26 06:54:58 UTC (rev 1368)
@@ -48,6 +48,10 @@
 #include <sys/select.h>
 #include <sys/ioctl.h>
 
+#ifndef HAVE_CLOCK_GETTIME
+#include "compat/clock_gettime.h"
+#endif
+
 #include "heritage.h"
 #include "shmlog.h"
 #include "cache.h"




More information about the varnish-commit mailing list