]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/mk-string-arrays.awk
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / mk-string-arrays.awk
index 4351369fe29a873e36b671afb4cd959397fa8b73..880e3a74b775cae9e836ed94099c6067e0bf6efc 100644 (file)
@@ -1,4 +1,4 @@
-## Copyright (C) 1996-2017 The Squid Software Foundation and contributors
+## Copyright (C) 1996-2021 The Squid Software Foundation and contributors
 ##
 ## Squid software is distributed under GPLv2+ license and includes
 ## contributions from numerous individuals and organizations.
@@ -74,7 +74,8 @@ codeSkip == 1         { next }
 
 END {
        if (sbuf) print "#include \"sbuf/SBuf.h\""
-       print "#include \"" nspath type ".h\""
+       if (ifile != "") print "#include \"" ifile "\""
+        else print "#include \"" nspath type ".h\""
 
        # if namespace is not empty ??
        if (namespace) print "namespace " namespace