diff options
author | Richard Jones <rjones@redhat.com> | 2009-11-25 10:26:48 +0000 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-11-25 16:28:26 +0000 |
commit | fdbc5aa711dde73eb448fbe13165c00a44272d00 (patch) | |
tree | c57f791503f1c90a9251132e43440202f1409ba3 /daemon/configure.ac | |
parent | c2aad5cd929a9932c010d045462bd923162fb593 (diff) | |
download | libguestfs-fdbc5aa711dde73eb448fbe13165c00a44272d00.tar.gz libguestfs-fdbc5aa711dde73eb448fbe13165c00a44272d00.tar.xz libguestfs-fdbc5aa711dde73eb448fbe13165c00a44272d00.zip |
sync: Windows implementation of sync() call.
Replace calls to sync() with calls to sync_disks() which supports
Win32 via FlushFileBuffers.
Diffstat (limited to 'daemon/configure.ac')
-rw-r--r-- | daemon/configure.ac | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/daemon/configure.ac b/daemon/configure.ac index 7bcdd7e6..d1a9b0ff 100644 --- a/daemon/configure.ac +++ b/daemon/configure.ac @@ -181,14 +181,16 @@ AC_CHECK_FUNCS([\ mknod \ posix_fallocate \ removexattr \ - setxattr]) + setxattr \ + sync]) dnl Headers. AC_CHECK_HEADERS([\ - attr/xattr.h \ - printf.h \ - sys/inotify.h \ - sys/xattr.h]) + attr/xattr.h \ + printf.h \ + sys/inotify.h \ + sys/xattr.h \ + windows.h]) dnl For modified printf, we need glibc either (old-style) dnl register_printf_function or (new-style) register_printf_specifier. |