=================================================================== RCS file: /cvs/mandoc/mandocdb.c,v retrieving revision 1.53 retrieving revision 1.55 diff -u -p -r1.53 -r1.55 --- mandoc/mandocdb.c 2012/06/09 11:00:13 1.53 +++ mandoc/mandocdb.c 2012/06/09 14:11:16 1.55 @@ -1,4 +1,4 @@ -/* $Id: mandocdb.c,v 1.53 2012/06/09 11:00:13 kristaps Exp $ */ +/* $Id: mandocdb.c,v 1.55 2012/06/09 14:11:16 kristaps Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons * Copyright (c) 2011, 2012 Ingo Schwarze @@ -44,8 +44,8 @@ #include "mdoc.h" #include "man.h" #include "mandoc.h" -#include "mandocdb.h" #include "manpath.h" +#include "mansearch.h" /* Post a warning to stderr. */ #define WARNING(_f, _b, _fmt, _args...) \ @@ -509,7 +509,9 @@ main(int argc, char *argv[]) * turn off synchronous mode for much better * performance. */ +#ifndef __APPLE__ SQL_EXEC("PRAGMA synchronous = OFF"); +#endif if (0 == ofmerge(mc, mp, dirs.paths[j])) goto out;