From 4b4cdf595ffda67196a460ff9cc71509df6090bd Mon Sep 17 00:00:00 2001 From: arcum42 Date: Mon, 15 Feb 2010 22:43:31 +0000 Subject: [PATCH] Linux compilation fix. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2597 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/pcsx2hostfs.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pcsx2/pcsx2hostfs.cpp b/pcsx2/pcsx2hostfs.cpp index b369ecca1c..87ba70bac4 100644 --- a/pcsx2/pcsx2hostfs.cpp +++ b/pcsx2/pcsx2hostfs.cpp @@ -46,7 +46,11 @@ u32 functionId; u32 paramsAddress; u32 paramsLength; -u32 returnValue; +u32 returnValue; + +#ifndef O_BINARY +# define O_BINARY 0 +#endif #define IOP_RDONLY 0x0001 #define IOP_WRONLY 0x0002