[master] 978d0a8 include config.h first
Nils Goroll
nils.goroll at uplex.de
Wed Feb 8 11:48:05 CET 2017
commit 978d0a8662084ed70e1619cc72d0e2b2a924e8af
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Wed Feb 8 11:47:30 2017 +0100
include config.h first
diff --git a/lib/libvcc/vmodtool.py b/lib/libvcc/vmodtool.py
index 477486e..cbe06b9 100755
--- a/lib/libvcc/vmodtool.py
+++ b/lib/libvcc/vmodtool.py
@@ -785,8 +785,9 @@ class vcc(object):
fn2 = fn + ".tmp2"
+ fo.write('#include "config.h"\n')
fo.write('#include <stdio.h>\n')
- for i in ["config", "vdef", "vcl", "vrt", self.pfx, "vmod_abi"]:
+ for i in ["vdef", "vcl", "vrt", self.pfx, "vmod_abi"]:
fo.write('#include "%s.h"\n' % i)
fo.write("\n")
More information about the varnish-commit
mailing list