From cec90af62aed23fb6fc5e5f8d4a3a00548382d6c Mon Sep 17 00:00:00 2001 From: Eric Kilmer Date: Sat, 30 May 2020 14:27:49 -0400 Subject: [PATCH] Fix missing include for std::runtime_error Would fail to compile on Fedora 32 with clang --- src/exec.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/exec.cpp b/src/exec.cpp index ec08b19..43d4b50 100644 --- a/src/exec.cpp +++ b/src/exec.cpp @@ -2,6 +2,7 @@ #include #include +#include std::string exec(const char* cmd) { std::array buffer; @@ -15,4 +16,4 @@ std::string exec(const char* cmd) { result += buffer.data(); return result; -} \ No newline at end of file +}