git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libreplace: add fdatasync() if not available
[ira/wip.git]
/
lib
/
replace
/
replace.h
diff --git
a/lib/replace/replace.h
b/lib/replace/replace.h
index baf2368130c6342af2d164c0442a88e5d2d59199..a4ef231385ef73cfd53b9f49198d609c98a91352 100644
(file)
--- 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 */