diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-03-13 20:14:22 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-03-13 20:14:22 +0000 |
commit | b557061ec444cdac8b23d6e433a6fe26c1e176a1 (patch) | |
tree | 9f3e810b758bff8939872a6e30a2dc38291adbe5 | |
parent | d0b90d296179f573c2f55633ad29afc8192af9d8 (diff) |
use g_fopen()
git-svn-id: svn://localhost/ardour2/branches/3.0@11668 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | libs/ardour/linux_vst_support.cc | 4 |
1 files changed, 3 insertions, 1 deletions
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 <time.h> #include <unistd.h> #include <pthread.h> +#include <glib.h> +#include <glib/gstdio.h> #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; |