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 . --- read.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'read.c') diff --git a/read.c b/read.c index 96c7ac53..d1ffb578 100644 --- a/read.c +++ b/read.c @@ -1,4 +1,4 @@ -/* $Id: read.c,v 1.145 2015/10/30 19:04:16 schwarze Exp $ */ +/* $Id: read.c,v 1.146 2015/11/07 14:22:29 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010-2015 Ingo Schwarze @@ -26,7 +26,9 @@ #include #include +#if HAVE_ERR #include +#endif #include #include #include -- cgit v1.2.3