diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2016-08-05 23:08:03 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2016-08-05 23:08:03 +0000 |
commit | 1f861fd3370a3a1e8fe52966b1dc54ac8e106cd9 (patch) | |
tree | be36956be54b885b346b9544339f976929a84b28 /mansearch.c | |
parent | 17421d3d58ff90a3ef7d481cf856c4a795e0ac77 (diff) | |
download | mandoc-1f861fd3370a3a1e8fe52966b1dc54ac8e106cd9.tar.gz |
Really protect <err.h> as already promised in the previous commit message.
Diffstat (limited to 'mansearch.c')
-rw-r--r-- | mansearch.c | 2 |
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> |