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 . --- mandoc_aux.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mandoc_aux.c') diff --git a/mandoc_aux.c b/mandoc_aux.c index fa72ba0d..cc74b7e7 100644 --- a/mandoc_aux.c +++ b/mandoc_aux.c @@ -1,4 +1,4 @@ -/* $Id: mandoc_aux.c,v 1.8 2015/11/06 16:30:33 schwarze Exp $ */ +/* $Id: mandoc_aux.c,v 1.9 2015/11/07 14:22:29 schwarze Exp $ */ /* * Copyright (c) 2009, 2011 Kristaps Dzonsons * Copyright (c) 2014 Ingo Schwarze @@ -19,7 +19,9 @@ #include +#if HAVE_ERR #include +#endif #include #include #include -- cgit v1.2.3