=== modified file 'scripts/source-maintenance.sh'
--- scripts/source-maintenance.sh	2010-10-12 10:35:42 +0000
+++ scripts/source-maintenance.sh	2010-11-07 00:33:30 +0000
@@ -32,7 +32,7 @@
 srcformat ()
 {
 PWD=`pwd`
-echo "FORMAT: ${PWD}..."
+#echo "FORMAT: ${PWD}..."
 
 for FILENAME in `ls -1`; do
 
@@ -60,6 +60,17 @@
 	fi
 
 	#
+	# REQUIRE config.h/squid.h as first #include
+	#
+	case ${FILENAME} in
+	*.c|*.cc)
+		FI=`grep "#include" ${FILENAME} | head -1`;
+		if test "${FI}" != "#include \"config.h\"" -a "${FI}" != "#include \"squid.h\"" ; then
+			echo "ERROR: ${PWD}/${FILENAME} does not include config.h or squid.h first!"
+		fi
+	esac
+
+	#
 	# DEBUG Section list maintenance
 	#
 	grep " DEBUG: section" <${FILENAME} | sed -e 's/ \* DEBUG: //' >>${ROOT}/doc/debug-sections.tmp


