]> git.cameronkatri.com Git - mandoc.git/blobdiff - mandocdb.c
Without HAVE_ERR, don't try to include <err.h>, it probably isn't there.
[mandoc.git] / mandocdb.c
index b57607096bf76104a0479e4c4a244c709f59de0a..cb99451f8393e86711b6ddbc56ad2e3a0117a5ac 100644 (file)
@@ -1,4 +1,4 @@
-/*     $Id: mandocdb.c,v 1.207 2015/11/06 17:33:34 schwarze Exp $ */
+/*     $Id: mandocdb.c,v 1.208 2015/11/07 14:22:29 schwarze Exp $ */
 /*
  * Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2011-2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -23,7 +23,9 @@
 
 #include <assert.h>
 #include <ctype.h>
+#if HAVE_ERR
 #include <err.h>
+#endif
 #include <errno.h>
 #include <fcntl.h>
 #if HAVE_FTS