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 | d300e64bd3801d0e4ea69e807c86fd1aa2e743b2 (patch) | |
tree | caf490955f915f155020538f0a8dc3c0ce19f895 /mansearch.c | |
parent | 742e308543d2c812e8600fd0813ee9071b920cc9 (diff) | |
download | mandoc-d300e64bd3801d0e4ea69e807c86fd1aa2e743b2.tar.gz mandoc-d300e64bd3801d0e4ea69e807c86fd1aa2e743b2.tar.zst mandoc-d300e64bd3801d0e4ea69e807c86fd1aa2e743b2.zip |
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> |