[master] 2b1fc34 Don't include vsm.h just to get name of a struct.

Poul-Henning Kamp phk at FreeBSD.org
Wed Mar 4 13:44:38 CET 2015


commit 2b1fc3449dd4d04cd6f73383fea47803ee90959e
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Mar 4 12:36:26 2015 +0000

    Don't include vsm.h just to get name of a struct.

diff --git a/include/vapi/vsl.h b/include/vapi/vsl.h
index a4f1b27..8d5a2ef 100644
--- a/include/vapi/vsl.h
+++ b/include/vapi/vsl.h
@@ -36,9 +36,10 @@
 
 #include <stdio.h>
 
-#include "vapi/vsm.h"
 #include "vapi/vsl_int.h"
 
+struct VSM_data;
+
 /*
  * enum VSL_tag_e enumerates the SHM log tags, where the identifiers are
  * "SLT_" + XML tag, as defined in tbl/vsl_tags.h. Use the macro SLT__MAX



More information about the varnish-commit mailing list