From 4a56f9aca9ccaa546a189b664d1c0bd6bdde3bbe Mon Sep 17 00:00:00 2001 From: Gerd von Egidy Date: Thu, 17 Dec 2015 16:28:17 +0100 Subject: [PATCH] fix missing include files and inline definition --- src/pipestream.hxx | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) 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); -- 1.7.1