summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2014-08-09 18:17:47 +0200
committerAnatolij Gustschin <agust@denx.de>2014-08-14 11:48:11 +0200
commit31cbe80c3346649cfe6a52e268d75ac4a338a086 (patch)
tree14ece158eab270365f0b3fa6b51f89a37e512b1e /tools
parentd878c9a932eae626aced58128357fc6155f88739 (diff)
downloadu-boot-imx-31cbe80c3346649cfe6a52e268d75ac4a338a086.zip
u-boot-imx-31cbe80c3346649cfe6a52e268d75ac4a338a086.tar.gz
u-boot-imx-31cbe80c3346649cfe6a52e268d75ac4a338a086.tar.bz2
mkimage: fix compilation issues on OpenBSD
Signed-off-by: Luka Perkov <luka@openwrt.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/mkimage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/mkimage.c b/tools/mkimage.c
index 123d0c7..c70408c 100644
--- a/tools/mkimage.c
+++ b/tools/mkimage.c
@@ -458,6 +458,7 @@ NXTARG: ;
#if defined(_POSIX_SYNCHRONIZED_IO) && \
!defined(__sun__) && \
!defined(__FreeBSD__) && \
+ !defined(__OpenBSD__) && \
!defined(__APPLE__)
(void) fdatasync (ifd);
#else
@@ -501,6 +502,7 @@ NXTARG: ;
#if defined(_POSIX_SYNCHRONIZED_IO) && \
!defined(__sun__) && \
!defined(__FreeBSD__) && \
+ !defined(__OpenBSD__) && \
!defined(__APPLE__)
(void) fdatasync (ifd);
#else