From d6a451bdf50b6f46df2ba605505c44dd785b77bc Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Tue, 7 Jul 2009 18:35:51 +0200 Subject: [PATCH] RemoteVstPlugin: define O_BINARY to 0 on Linux O_BINARY flag is not supported on Linux, therefore define it to 0. Fixes compilation failure on Linux. Signed-off-by: Tobias Doerffel --- plugins/vst_base/remote_vst_plugin.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/vst_base/remote_vst_plugin.cpp b/plugins/vst_base/remote_vst_plugin.cpp index 1dfdcdbf1..c9e9a5de3 100644 --- a/plugins/vst_base/remote_vst_plugin.cpp +++ b/plugins/vst_base/remote_vst_plugin.cpp @@ -44,6 +44,10 @@ #ifdef LMMS_BUILD_LINUX +#ifndef O_BINARY +#define O_BINARY 0 +#endif + #ifdef LMMS_HAVE_SCHED_H #include #endif