1 --- common/obj-backend-fs.c.orig 2015-09-21 03:42:11 UTC
2 +++ common/obj-backend-fs.c
3 @@ -101,7 +101,7 @@ obj_backend_fs_read (ObjBackend *bend,
5 fsync_obj_contents (int fd)
8 +#if defined(__linux__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__)
9 /* Some file systems may not support fsync().
10 * In this case, just skip the error.
12 @@ -153,7 +153,7 @@ fsync_obj_contents (int fd)
14 rename_and_sync (const char *tmp_path, const char *obj_path)
17 +#if defined(__linux__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__)