-/* $Id: dbm.c,v 1.1 2016/07/19 21:31:55 schwarze Exp $ */
+/* $Id: dbm.c,v 1.2 2016/07/20 00:23:14 schwarze Exp $ */
/*
* Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org>
*
* 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>