mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
b693bfc710
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 36550
19 lines
482 B
Diff
19 lines
482 B
Diff
--- a/tools/mkimage.c
|
|
+++ b/tools/mkimage.c
|
|
@@ -464,6 +464,7 @@ NXTARG: ;
|
|
#if defined(_POSIX_SYNCHRONIZED_IO) && \
|
|
!defined(__sun__) && \
|
|
!defined(__FreeBSD__) && \
|
|
+ !defined(__OpenBSD__) && \
|
|
!defined(__APPLE__)
|
|
(void) fdatasync (ifd);
|
|
#else
|
|
@@ -507,6 +508,7 @@ NXTARG: ;
|
|
#if defined(_POSIX_SYNCHRONIZED_IO) && \
|
|
!defined(__sun__) && \
|
|
!defined(__FreeBSD__) && \
|
|
+ !defined(__OpenBSD__) && \
|
|
!defined(__APPLE__)
|
|
(void) fdatasync (ifd);
|
|
#else
|