r1370 - trunk/varnish-cache/include

des at projects.linpro.no des at projects.linpro.no
Tue May 1 19:48:56 CEST 2007


Author: des
Date: 2007-05-01 19:48:56 +0200 (Tue, 01 May 2007)
New Revision: 1370

Modified:
   trunk/varnish-cache/include/shmlog.h
Log:
Add protective #ifdef.


Modified: trunk/varnish-cache/include/shmlog.h
===================================================================
--- trunk/varnish-cache/include/shmlog.h	2007-04-26 10:39:19 UTC (rev 1369)
+++ trunk/varnish-cache/include/shmlog.h	2007-05-01 17:48:56 UTC (rev 1370)
@@ -33,6 +33,9 @@
  * NB: THIS IS NOT A PUBLIC API TO VARNISH!
  */
 
+#ifndef SHMLOG_H_INCLUDED
+#define SHMLOG_H_INCLUDED
+
 #define SHMLOG_FILENAME		"/tmp/_.vsl"
 
 #include <time.h>
@@ -82,3 +85,5 @@
 #undef SLTM
 	SLT_WRAPMARKER = 255
 };
+
+#endif




More information about the varnish-commit mailing list