$NetBSD: patch-aa,v 1.7 2014/12/12 06:45:34 mef Exp $ Add Darwin and DragonFly support --- fileio.c.orig 2004-12-13 02:47:59.000000000 +0000 +++ fileio.c @@ -19,6 +19,14 @@ */ #include "dbench.h" +#ifdef __APPLE__ +#include +#define fdatasync fsync +#endif + +#ifdef __DragonFly__ +#define O_SYNC O_FSYNC +#endif #define MAX_FILES 200