From: Luka Perkov Date: Sat, 9 Aug 2014 16:17:47 +0000 (+0200) Subject: mkimage: fix compilation issues on OpenBSD X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=31cbe80c3346649cfe6a52e268d75ac4a338a086;p=u-boot.git mkimage: fix compilation issues on OpenBSD Signed-off-by: Luka Perkov --- diff --git a/tools/mkimage.c b/tools/mkimage.c index 123d0c7d93..c70408c9ba 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