summaryrefslogtreecommitdiffstats
path: root/mansearch.c
diff options
context:
space:
mode:
Diffstat (limited to 'mansearch.c')
-rw-r--r--mansearch.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mansearch.c b/mansearch.c
index 1bdd9d0b..5aa30623 100644
--- a/mansearch.c
+++ b/mansearch.c
@@ -30,7 +30,11 @@
#include <string.h>
#include <unistd.h>
+#ifdef HAVE_OHASH
#include <ohash.h>
+#else
+#include "compat_ohash.h"
+#endif
#include <sqlite3.h>
#include "mandoc.h"