aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/manpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'manpath.c')
-rw-r--r--manpath.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/manpath.c b/manpath.c
index f912e766..baa0dc78 100644
--- a/manpath.c
+++ b/manpath.c
@@ -1,4 +1,4 @@
-/* $Id: manpath.c,v 1.27 2015/10/11 21:12:55 schwarze Exp $ */
+/* $Id: manpath.c,v 1.28 2015/11/07 14:22:29 schwarze Exp $ */
/*
* Copyright (c) 2011, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -21,7 +21,9 @@
#include <sys/stat.h>
#include <ctype.h>
+#if HAVE_ERR
#include <err.h>
+#endif
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>