From 5b18b9c1e8d0e0ad14937669a931a1a358e65091 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Mon, 10 Dec 2018 15:37:46 +0200 Subject: Version 1.2 (support for Varnish 6.0.2) --- src/vmod_dict.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'src/vmod_dict.c') diff --git a/src/vmod_dict.c b/src/vmod_dict.c index 04ee52c..f9114d1 100644 --- a/src/vmod_dict.c +++ b/src/vmod_dict.c @@ -1,5 +1,5 @@ /* This file is part of vmod_dict. - Copyright (C) 2017 Sergey Poznyakoff + Copyright (C) 2017-2018 Sergey Poznyakoff Vmod_dict is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -22,11 +22,17 @@ #include #include #include -#include "vcl.h" -#include "vrt.h" -#include "vas.h" -#include "cache/cache.h" -#include "vcc_if.h" +#if VARNISHAPI_MAJOR > 5 +# include +# include +# include +#else +# include +# include +# include +# include +#endif +#include struct entry { -- cgit v1.2.1