fix(color_util): Add missing header

This commit is contained in:
Michael Carlberg 2017-01-24 12:37:19 +01:00
parent f974609fc5
commit c74a1647ab

View File

@ -1,5 +1,7 @@
#pragma once
#include <cstdlib>
#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) {