=================================================================== RCS file: /cvs/mandoc/mandocdb.c,v retrieving revision 1.155 retrieving revision 1.158 diff -u -p -r1.155 -r1.158 --- mandoc/mandocdb.c 2014/08/06 15:09:05 1.155 +++ mandoc/mandocdb.c 2014/08/16 19:00:01 1.158 @@ -1,4 +1,4 @@ -/* $Id: mandocdb.c,v 1.155 2014/08/06 15:09:05 schwarze Exp $ */ +/* $Id: mandocdb.c,v 1.158 2014/08/16 19:00:01 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons * Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze @@ -15,18 +15,21 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include +#include #include #include #include #include #include +#if HAVE_FTS #include +#else +#include "compat_fts.h" +#endif #include #include #include @@ -36,7 +39,7 @@ #include #include -#ifdef HAVE_OHASH +#if HAVE_OHASH #include #else #include "compat_ohash.h"