diff options
Diffstat (limited to 'src/vmod_dict.c')
-rw-r--r-- | src/vmod_dict.c | 18 |
1 files changed, 12 insertions, 6 deletions
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 @@ | |||
1 | /* This file is part of vmod_dict. | 1 | /* This file is part of vmod_dict. |
2 | Copyright (C) 2017 Sergey Poznyakoff | 2 | Copyright (C) 2017-2018 Sergey Poznyakoff |
3 | 3 | ||
4 | Vmod_dict is free software; you can redistribute it and/or modify | 4 | Vmod_dict is free software; you can redistribute it and/or modify |
5 | it under the terms of the GNU General Public License as published by | 5 | it under the terms of the GNU General Public License as published by |
@@ -22,11 +22,17 @@ | |||
22 | #include <limits.h> | 22 | #include <limits.h> |
23 | #include <ctype.h> | 23 | #include <ctype.h> |
24 | #include <syslog.h> | 24 | #include <syslog.h> |
25 | #include "vcl.h" | 25 | #if VARNISHAPI_MAJOR > 5 |
26 | #include "vrt.h" | 26 | # include <cache/cache.h> |
27 | #include "vas.h" | 27 | # include <vcl.h> |
28 | #include "cache/cache.h" | 28 | # include <vcc_if.h> |
29 | #include "vcc_if.h" | 29 | #else |
30 | # include <vcl.h> | ||
31 | # include <vrt.h> | ||
32 | # include <vcc_if.h> | ||
33 | # include <cache/cache.h> | ||
34 | #endif | ||
35 | #include <vas.h> | ||
30 | 36 | ||
31 | struct entry | 37 | struct entry |
32 | { | 38 | { |