From: Gerd von Egidy Date: Thu, 17 Dec 2015 15:28:17 +0000 (+0100) Subject: fix missing include files and inline definition X-Git-Tag: v2.9~27 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=4a56f9aca9ccaa546a189b664d1c0bd6bdde3bbe;p=libi2ncommon fix missing include files and inline definition --- diff --git a/src/pipestream.hxx b/src/pipestream.hxx index 83244ed..9280859 100644 --- a/src/pipestream.hxx +++ b/src/pipestream.hxx @@ -31,6 +31,8 @@ on this file might be covered by the GNU General Public License. #include #include +#include +#include struct ExecResult { @@ -53,7 +55,7 @@ typedef struct ExecResult ExecResult; std::string capture_exec(const std::string& command, ExecResult &rescode); -std::string capture_exec(const std::string& command) +inline std::string capture_exec(const std::string& command) { ExecResult r; return capture_exec(command,r);