summaryrefslogtreecommitdiffstats
path: root/mandocdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'mandocdb.c')
-rw-r--r--mandocdb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mandocdb.c b/mandocdb.c
index c8dd670c..3a48714e 100644
--- a/mandocdb.c
+++ b/mandocdb.c
@@ -25,7 +25,11 @@
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
+#ifdef HAVE_FTS
#include <fts.h>
+#else
+#include "compat_fts.h"
+#endif
#include <getopt.h>
#include <limits.h>
#include <stddef.h>