From b897019f5696c540f454bcb428d44ad31ef65559 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 7 Nov 2015 14:22:29 +0000 Subject: Without HAVE_ERR, don't try to include , it probably isn't there. In that case, the required prototypes are in "config.h". Patch from Peter Bray . --- mandocdb.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mandocdb.c') diff --git a/mandocdb.c b/mandocdb.c index b5760709..cb99451f 100644 --- a/mandocdb.c +++ b/mandocdb.c @@ -1,4 +1,4 @@ -/* $Id: mandocdb.c,v 1.207 2015/11/06 17:33:34 schwarze Exp $ */ +/* $Id: mandocdb.c,v 1.208 2015/11/07 14:22:29 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons * Copyright (c) 2011-2015 Ingo Schwarze @@ -23,7 +23,9 @@ #include #include +#if HAVE_ERR #include +#endif #include #include #if HAVE_FTS -- cgit v1.2.3