diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-02-13 12:57:13 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-02-13 22:36:11 +1100 |
commit | f435538576878cca81af42e34979a6e4125fe136 (patch) | |
tree | c5897c123fa7968e65d8b4e983a2c0eecc1b9142 /lib/replace/replace.h | |
parent | 63844609dafb58860a4058bbd7fee10b1f69876b (diff) | |
download | samba-f435538576878cca81af42e34979a6e4125fe136.tar.gz samba-f435538576878cca81af42e34979a6e4125fe136.tar.bz2 samba-f435538576878cca81af42e34979a6e4125fe136.zip |
libreplace: add fdatasync() if not available
Diffstat (limited to 'lib/replace/replace.h')
-rw-r--r-- | lib/replace/replace.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/replace/replace.h b/lib/replace/replace.h index baf2368130..a4ef231385 100644 --- a/lib/replace/replace.h +++ b/lib/replace/replace.h @@ -729,4 +729,8 @@ char *ufc_crypt(const char *key, const char *salt); #endif #endif +#ifndef HAVE_FDATASYNC +#define fdatasync(fd) fsync(fd) +#endif + #endif /* _LIBREPLACE_REPLACE_H */ |