diff --git a/include/utils/color.hpp b/include/utils/color.hpp index 59650437..cebf86c1 100644 --- a/include/utils/color.hpp +++ b/include/utils/color.hpp @@ -1,5 +1,7 @@ #pragma once +#include + #include "common.hpp" #include "utils/cache.hpp" @@ -92,7 +94,7 @@ namespace color_util { inline unsigned int parse(string hex, unsigned int fallback = 0) { if ((hex = parse_hex(hex)).empty()) return fallback; - return strtoul(&hex[1], nullptr, 16); + return std::strtoul(&hex[1], nullptr, 16); } inline string simplify_hex(string hex) {