From 652e881f548ca5e9ef40b31dca6098c563ee6c2c Mon Sep 17 00:00:00 2001 From: "KJK::Hyperion" Date: Mon, 9 Nov 2009 22:56:06 +0000 Subject: [PATCH] ... on the other hand, O_BINARY is a Win32 thing svn path=/trunk/; revision=44060 --- reactos/tools/pefixup.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reactos/tools/pefixup.c b/reactos/tools/pefixup.c index e9304284bfc..f908a9a94e3 100644 --- a/reactos/tools/pefixup.c +++ b/reactos/tools/pefixup.c @@ -26,6 +26,10 @@ #include #include +#ifndef O_BINARY +#define O_BINARY 0 +#endif + /* The following definitions are ripped from MinGW W32API headers. We don't use these headers directly in order to allow compilation on Linux hosts. */