diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/dbrw.h | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -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; |