]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
TestBed: make header tests obey config.h-first policy
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 28 Jan 2011 09:05:34 +0000 (22:05 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 28 Jan 2011 09:05:34 +0000 (22:05 +1300)
test-suite/testheaders.sh

index cb0144a95373b069c07d03e1fb42b7044c424a02..58b21d5b1ca24ffe71feb3ee3d48a570c59a83c7 100755 (executable)
@@ -24,6 +24,7 @@ for f in $@; do
     if [ ! -f "$t.o" -o $f -nt "$t.o" ]; then
         echo >$t.cc <<EOF
 /* This file is AUTOMATICALLY GENERATED. DO NOT ALTER IT */
+#include "config.h"
 #include "${f}"
 int main( int argc, char* argv[] ) { return 0; }
 EOF