bugfix: to enable fdatasync(3) config.h must be included (sigh).