summaryrefslogtreecommitdiffabout
path: root/src/dbrw.h
authorSergey Poznyakoff <gray@gnu.org>2020-03-27 09:30:44 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2020-03-27 09:30:44 (GMT)
commit76224b173a3a324f48d019af286c1d81a16d1068 (patch) (side-by-side diff)
tree64720ee29557f721b99bb7e5da015491cb211842 /src/dbrw.h
parent40e9aee9afced03a9473a32a08c93c8c7803f033 (diff)
downloadvmod-dbrw-master.tar.gz
vmod-dbrw-master.tar.bz2
Drop support for Varnish versions prior to 6.0HEADmaster
Diffstat (limited to 'src/dbrw.h') (more/less context) (ignore whitespace changes)
-rw-r--r--src/dbrw.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/dbrw.h b/src/dbrw.h
index 5437d4c..bbe1364 100644
--- a/src/dbrw.h
+++ b/src/dbrw.h
@@ -21,17 +21,9 @@
#include <syslog.h>
#include <regex.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)
+#include "cache/cache.h"
+#include "vcl.h"
+#include "vcc_if.h"
#ifdef VPFX
# define VEVENT(a) VPFX(a)

Return to:

Send suggestions and report system problems to the System administrator.