summaryrefslogtreecommitdiffstats
path: root/compat_err.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-11-07 14:22:29 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-11-07 14:22:29 +0000
commit0441e71e8746df106efe8cf9b9ecb18f0d0824a4 (patch)
tree0aa57fa5d44a7e5715b588f3ce0a8614eee46bd4 /compat_err.c
parent085945da2fe63d7a2b347a2d01602da22e90058f (diff)
downloadmandoc-0441e71e8746df106efe8cf9b9ecb18f0d0824a4.tar.gz
Without HAVE_ERR, don't try to include <err.h>, it probably isn't there.
In that case, the required prototypes are in "config.h". Patch from Peter Bray <pdb_ml at yahoo dot com dot au>.
Diffstat (limited to 'compat_err.c')
-rw-r--r--compat_err.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/compat_err.c b/compat_err.c
index 01c2fefe..f996c31a 100644
--- a/compat_err.c
+++ b/compat_err.c
@@ -36,7 +36,6 @@ int dummy;
* SUCH DAMAGE.
*/
-#include <err.h>
#include <errno.h>
#include <stdarg.h>
#include <stdio.h>