From 31cbe80c3346649cfe6a52e268d75ac4a338a086 Mon Sep 17 00:00:00 2001 From: Luka Perkov Date: Sat, 9 Aug 2014 18:17:47 +0200 Subject: [PATCH] mkimage: fix compilation issues on OpenBSD Signed-off-by: Luka Perkov --- tools/mkimage.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5