From d25278f710a4932798c98141bcf5b482de0e9166 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Mon, 23 May 2022 16:23:00 +0000 Subject: [PATCH] fix(upower): add missing include for libc++ In file included from src/modules/upower/upower.cpp:1: include/modules/upower/upower.hpp:25:16: error: no template named 'unordered_map' in namespace 'std' typedef std::unordered_map Devices; ~~~~~^ In file included from src/modules/upower/upower_tooltip.cpp:1: include/modules/upower/upower_tooltip.hpp:13:16: error: no template named 'unordered_map' in namespace 'std' typedef std::unordered_map Devices; ~~~~~^ --- include/modules/upower/upower.hpp | 1 + include/modules/upower/upower_tooltip.hpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/include/modules/upower/upower.hpp b/include/modules/upower/upower.hpp index 1288940..2724443 100644 --- a/include/modules/upower/upower.hpp +++ b/include/modules/upower/upower.hpp @@ -5,6 +5,7 @@ #include #include #include +#include #include "ALabel.hpp" #include "glibconfig.h" diff --git a/include/modules/upower/upower_tooltip.hpp b/include/modules/upower/upower_tooltip.hpp index 9d36a70..730ee93 100644 --- a/include/modules/upower/upower_tooltip.hpp +++ b/include/modules/upower/upower_tooltip.hpp @@ -2,6 +2,8 @@ #include +#include + #include "gtkmm/box.h" #include "gtkmm/label.h" #include "gtkmm/window.h"