]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mkimage: fix compilation issues on OpenBSD
authorLuka Perkov <luka@openwrt.org>
Sat, 9 Aug 2014 16:17:47 +0000 (18:17 +0200)
committerAnatolij Gustschin <agust@denx.de>
Thu, 14 Aug 2014 09:48:11 +0000 (11:48 +0200)
Signed-off-by: Luka Perkov <luka@openwrt.org>
tools/mkimage.c

index 123d0c7d938dae609c6eea050cbdbc5a6ce96075..c70408c9ba02375ae959e20d438e4e65acfd75b0 100644 (file)
@@ -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