From 5719ed8ce9ba60beb9c1670b49296b1c66430dc2 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 2 Mar 2021 12:57:37 -0800 Subject: [PATCH] include header Fixes build with gcc11 /src/util/tools.h:165:6: error: 'optional' in na mespace 'std' does not name a template type | 165 | std::optional> readBinaryFile(const fs::path& path); | | ^~~~~~~~ Upstream-Status: Submitted [https://github.com/gerbera/gerbera/pull/1273] Signed-off-by: Khem Raj --- src/util/tools.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/tools.h b/src/util/tools.h index 3a4064e9..e5142966 100644 --- a/src/util/tools.h +++ b/src/util/tools.h @@ -37,6 +37,7 @@ #include #include #include +#include #include namespace fs = std::filesystem; -- 2.30.1