diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2020-03-27 11:30:44 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2020-03-27 11:30:44 +0200 |
commit | 76224b173a3a324f48d019af286c1d81a16d1068 (patch) | |
tree | 64720ee29557f721b99bb7e5da015491cb211842 /src/dbrw.h | |
parent | 40e9aee9afced03a9473a32a08c93c8c7803f033 (diff) | |
download | vmod-dbrw-76224b173a3a324f48d019af286c1d81a16d1068.tar.gz vmod-dbrw-76224b173a3a324f48d019af286c1d81a16d1068.tar.bz2 |
Drop support for Varnish versions prior to 6.0
Diffstat (limited to 'src/dbrw.h')
-rw-r--r-- | src/dbrw.h | 14 |
1 files changed, 3 insertions, 11 deletions
@@ -21,17 +21,9 @@ | |||
21 | #include <syslog.h> | 21 | #include <syslog.h> |
22 | #include <regex.h> | 22 | #include <regex.h> |
23 | 23 | ||
24 | #if VARNISHAPI_MAJOR > 5 | 24 | #include "cache/cache.h" |
25 | # include "cache/cache.h" | 25 | #include "vcl.h" |
26 | # include "vcl.h" | 26 | #include "vcc_if.h" |
27 | # include "vcc_if.h" | ||
28 | #else | ||
29 | # include "vcl.h" | ||
30 | # include "vrt.h" | ||
31 | # include "vcc_if.h" | ||
32 | # include "cache/cache.h" | ||
33 | #endif | ||
34 | #define WSPTR(s) ((s)->ws) | ||
35 | 27 | ||
36 | #ifdef VPFX | 28 | #ifdef VPFX |
37 | # define VEVENT(a) VPFX(a) | 29 | # define VEVENT(a) VPFX(a) |