--- lib/cyrusdb_skiplist.c.orig Tue Apr 23 20:25:48 2002 +++ lib/cyrusdb_skiplist.c Wed May 8 13:49:23 2002 @@ -69,6 +69,11 @@ #define PROB (0.5) +#ifdef __FreeBSD__ +/* #define fdatasync(fd) fsync(fd) */ +#define O_DSYNC 0 +#endif + /* * * disk format; all numbers in network byte order