From b1c97e42ccf9e0de49f3408b9aa18a23f52f0cc0 Mon Sep 17 00:00:00 2001 From: Patrick Ziegler Date: Tue, 12 Oct 2021 19:33:15 +0200 Subject: [PATCH] Include fd_stream in command.hpp (#2533) On older gcc versions, the incomplete type can lead to a compilation error because unique_ptr requires the complete type for its destructor. --- include/utils/command.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/utils/command.hpp b/include/utils/command.hpp index e8e67fe4..c05b7a63 100644 --- a/include/utils/command.hpp +++ b/include/utils/command.hpp @@ -4,13 +4,11 @@ #include "components/logger.hpp" #include "components/types.hpp" #include "errors.hpp" +#include "utils/file.hpp" #include "utils/functional.hpp" POLYBAR_NS -template -class fd_stream; - DEFINE_ERROR(command_error); /**