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 . --- compat_stringlist.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'compat_stringlist.c') diff --git a/compat_stringlist.c b/compat_stringlist.c index b3397168..17eba772 100644 --- a/compat_stringlist.c +++ b/compat_stringlist.c @@ -6,7 +6,7 @@ int dummy; #else -/* $Id: compat_stringlist.c,v 1.5 2015/05/21 00:13:43 schwarze Exp $ */ +/* $Id: compat_stringlist.c,v 1.6 2015/11/07 14:22:29 schwarze Exp $ */ /* * Copyright (c) 1994 Christos Zoulas * All rights reserved. @@ -33,7 +33,9 @@ int dummy; * SUCH DAMAGE. */ +#if HAVE_ERR #include +#endif #include #include #include "compat_stringlist.h" -- cgit v1.2.3-56-ge451