summaryrefslogtreecommitdiffabout
path: root/src/dbrw.h
authorSergey Poznyakoff <gray@gnu.org>2018-12-10 11:59:53 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2018-12-10 12:00:55 (GMT)
commit841a9f6fa1e3dfa1323be6212056ecd28d21b696 (patch) (side-by-side diff)
treef4ca4d8ed1451d0e4a680cfad7ac1230287ba943 /src/dbrw.h
parent691d208edcf53d48e2401340f1aec2adae8661c8 (diff)
downloadvmod-dbrw-841a9f6fa1e3dfa1323be6212056ecd28d21b696.tar.gz
vmod-dbrw-841a9f6fa1e3dfa1323be6212056ecd28d21b696.tar.bz2
Version 2.4; Support for varnish 6.0.2release-2.4
Diffstat (limited to 'src/dbrw.h') (more/less context) (ignore whitespace changes)
-rw-r--r--src/dbrw.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/dbrw.h b/src/dbrw.h
index 1ff1056..bd0aa2a 100644
--- a/src/dbrw.h
+++ b/src/dbrw.h
@@ -21,10 +21,16 @@
#include <syslog.h>
#include <regex.h>
-#include "vcl.h"
-#include "vrt.h"
-#include "vcc_if.h"
-#include "cache/cache.h"
+#if VARNISHAPI_MAJOR > 5
+# include "cache/cache.h"
+# include "vcl.h"
+# include "vcc_if.h"
+#else
+# include "vcl.h"
+# include "vrt.h"
+# include "vcc_if.h"
+# include "cache/cache.h"
+#endif
#define WSPTR(s) ((s)->ws)
struct dbrw_connection;

Return to:

Send suggestions and report system problems to the System administrator.