mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 08:51:13 +00:00
5342a1a2ea
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 40807
19 lines
460 B
Diff
19 lines
460 B
Diff
--- a/tools/mkimage.c
|
|
+++ b/tools/mkimage.c
|
|
@@ -458,6 +458,7 @@
|
|
#if defined(_POSIX_SYNCHRONIZED_IO) && \
|
|
!defined(__sun__) && \
|
|
!defined(__FreeBSD__) && \
|
|
+ !defined(__OpenBSD__) && \
|
|
!defined(__APPLE__)
|
|
(void) fdatasync (ifd);
|
|
#else
|
|
@@ -501,6 +502,7 @@
|
|
#if defined(_POSIX_SYNCHRONIZED_IO) && \
|
|
!defined(__sun__) && \
|
|
!defined(__FreeBSD__) && \
|
|
+ !defined(__OpenBSD__) && \
|
|
!defined(__APPLE__)
|
|
(void) fdatasync (ifd);
|
|
#else
|