From a6d0331ed9d98aa6368bdd0dfacdd31e776acdf6 Mon Sep 17 00:00:00 2001 From: satbaby Date: Wed, 22 Aug 2012 09:39:08 +0200 Subject: [PATCH] plugins.cpp: use popen2 with vfork for script plugins --- src/gui/plugins.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/plugins.cpp b/src/gui/plugins.cpp index d04e0b9a5..0cfb0287b 100644 --- a/src/gui/plugins.cpp +++ b/src/gui/plugins.cpp @@ -49,6 +49,7 @@ #include #include #include +#include #include #include @@ -316,7 +317,6 @@ void CPlugins::startPlugin(const char * const name) printf("[CPlugins] could not find %s\n", name); } - #include FILE* popen2( pid_t& pid, const char *cmdstring, const char *type) { int pfd[2] ={-1,-1};