aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dbm_map.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbm_map.c')
-rw-r--r--dbm_map.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/dbm_map.c b/dbm_map.c
index 486bb29b..724a9f68 100644
--- a/dbm_map.c
+++ b/dbm_map.c
@@ -1,4 +1,4 @@
-/* $Id: dbm_map.c,v 1.1 2016/07/19 21:31:55 schwarze Exp $ */
+/* $Id: dbm_map.c,v 1.2 2016/07/20 00:23:14 schwarze Exp $ */
/*
* Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org>
*
@@ -18,12 +18,16 @@
* of the mandoc database, for read-only access.
* The interface is defined in "dbm_map.h".
*/
+#include "config.h"
+
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <endian.h>
+#if HAVE_ERR
#include <err.h>
+#endif
#include <errno.h>
#include <fcntl.h>
#include <regex.h>