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.
This commit is contained in:
Patrick Ziegler 2021-10-12 19:33:15 +02:00 committed by GitHub
parent 281fdf6382
commit b1c97e42cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -4,13 +4,11 @@
#include "components/logger.hpp" #include "components/logger.hpp"
#include "components/types.hpp" #include "components/types.hpp"
#include "errors.hpp" #include "errors.hpp"
#include "utils/file.hpp"
#include "utils/functional.hpp" #include "utils/functional.hpp"
POLYBAR_NS POLYBAR_NS
template <typename T>
class fd_stream;
DEFINE_ERROR(command_error); DEFINE_ERROR(command_error);
/** /**