mdb.c: In function 'mdb_env_open':
mdb.c:327:20: error: 'O_DSYNC' undeclared (first use in this function)
# define MDB_DSYNC O_DSYNC
^
mdb.c:4502:39: note: in expansion of macro 'MDB_DSYNC'
env->me_mfd = open(dpath, oflags | MDB_DSYNC, mode);
^
mdb.c:327:20: note: each undeclared identifier is reported only once for each function it appears in
# define MDB_DSYNC O_DSYNC
^
mdb.c:4502:39: note: in expansion of macro 'MDB_DSYNC'
env->me_mfd = open(dpath, oflags | MDB_DSYNC, mode);
^
make: *** [mdb.o] Error 1