aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mansearch.c
diff options
context:
space:
mode:
Diffstat (limited to 'mansearch.c')
-rw-r--r--mansearch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mansearch.c b/mansearch.c
index 30e7768b..6e689bd3 100644
--- a/mansearch.c
+++ b/mansearch.c
@@ -21,7 +21,9 @@
#include <sys/types.h>
#include <assert.h>
+#if HAVE_ERR
#include <err.h>
+#endif
#include <errno.h>
#include <fcntl.h>
#include <glob.h>