diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2016-07-20 00:23:14 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2016-07-20 00:23:14 +0000 |
commit | abf997389de6e4b73f6010ae4ec6fbda522dfdad (patch) | |
tree | 0514d07f5c392a2ad00ded7a0b0e290f645f284c /dbm.c | |
parent | 8c21c9f1d9ec00163ee18d64eeecbfbfcb70d0a5 (diff) | |
download | mandoc-abf997389de6e4b73f6010ae4ec6fbda522dfdad.tar.gz |
Linux compatibility: Work around the lack of EFTYPE and protect <err.h>.
Diffstat (limited to 'dbm.c')
-rw-r--r-- | dbm.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -17,9 +17,13 @@ * Map-based version of the mandoc database, for read-only access. * The interface is defined in "dbm.h". */ +#include "config.h" + #include <assert.h> #include <endian.h> +#if HAVE_ERR #include <err.h> +#endif #include <errno.h> #include <regex.h> #include <stdint.h> |