From b557061ec444cdac8b23d6e433a6fe26c1e176a1 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 13 Mar 2012 20:14:22 +0000 Subject: [PATCH] use g_fopen() git-svn-id: svn://localhost/ardour2/branches/3.0@11668 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/linux_vst_support.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/ardour/linux_vst_support.cc b/libs/ardour/linux_vst_support.cc index e6f2735351..4ebce2a826 100644 --- a/libs/ardour/linux_vst_support.cc +++ b/libs/ardour/linux_vst_support.cc @@ -9,6 +9,8 @@ #include #include #include +#include +#include #include "ardour/linux_vst_support.h" #include "pbd/error.h" @@ -360,7 +362,7 @@ void vstfx_close (VSTState* vstfx) bool vstfx_save_state (VSTState* vstfx, char * filename) { - FILE* f = fopen (filename, "wb"); + FILE* f = g_fopen (filename, "wb"); if (f) { int bytelen;