diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libutil/util.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libutil/util.hh b/src/libutil/util.hh index 837382433af9..90132da73317 100644 --- a/src/libutil/util.hh +++ b/src/libutil/util.hh @@ -12,6 +12,10 @@ #include <cstdio> +#ifndef HAVE_FDATASYNC +#define fdatasync fsync +#endif + namespace nix { |