2013-03-08 20:16:11 +00:00
|
|
|
--- a/tools/mkimage.c
|
|
|
|
+++ b/tools/mkimage.c
|
2014-05-21 09:42:33 +00:00
|
|
|
@@ -458,6 +458,7 @@
|
2013-03-07 17:32:29 +00:00
|
|
|
#if defined(_POSIX_SYNCHRONIZED_IO) && \
|
|
|
|
!defined(__sun__) && \
|
|
|
|
!defined(__FreeBSD__) && \
|
|
|
|
+ !defined(__OpenBSD__) && \
|
|
|
|
!defined(__APPLE__)
|
|
|
|
(void) fdatasync (ifd);
|
|
|
|
#else
|
2014-05-21 09:42:33 +00:00
|
|
|
@@ -501,6 +502,7 @@
|
2013-03-07 17:32:29 +00:00
|
|
|
#if defined(_POSIX_SYNCHRONIZED_IO) && \
|
|
|
|
!defined(__sun__) && \
|
|
|
|
!defined(__FreeBSD__) && \
|
|
|
|
+ !defined(__OpenBSD__) && \
|
|
|
|
!defined(__APPLE__)
|
|
|
|
(void) fdatasync (ifd);
|
|
|
|
#else
|