diff --git a/THANKS b/THANKS
index d50b8d24..a1a8a8b9 100644
--- a/THANKS
+++ b/THANKS
@@ -97,6 +97,7 @@ Sergei Steshenko sergstesh@yahoo.com
Shura debil_urod@ngs.ru
Steve Murphy murf@parsetree.com
Summum Bonum sum@geekhouse.org
+Thiru Ramakrishnan thiru.ramakrishnan@gmail.com
Tim Josling tej@melbpc.org.au
Tim Landscheidt tim@tim-landscheidt.de
Tim Van Holder tim.van.holder@pandora.be
diff --git a/cfg.mk b/cfg.mk
index 2d4f1baf..6b3deb97 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -55,4 +55,5 @@ update-copyright-env = \
UPDATE_COPYRIGHT_FORCE=1 UPDATE_COPYRIGHT_USE_INTERVALS=1
exclude_file_name_regexp--sc_space_tab = ^tests/(input|c\+\+)\.at$$
-exclude_file_name_regexp--sc_require_config_h_first = ^data/(glr|yacc)\.c$$
+exclude_file_name_regexp--sc_require_config_h_first = \
+ ^(lib/yyerror|data/(glr|yacc))\.c$$
diff --git a/lib/yyerror.c b/lib/yyerror.c
index 5eb339fa..c9f492f8 100644
--- a/lib/yyerror.c
+++ b/lib/yyerror.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see . */
-#include
#include
int yyerror (char const *);
@@ -25,5 +24,7 @@ int yyerror (char const *);
int
yyerror (char const *message)
{
- return fprintf (stderr, "%s\n", message);
+ fputs (message, stderr);
+ fputc ('\n', stderr);
+ return 0;
}