From fc2b5c5f7b321b0018abfce0803bceeff4504543 Mon Sep 17 00:00:00 2001 From: Tobias Kortkamp Date: Tue, 10 Dec 2019 18:13:08 +0100 Subject: [PATCH] Fix build on FreeBSD again json_ui.cc:29:9: error: use of undeclared identifier 'sprintf' sprintf(buffer, R"("#%02x%02x%02x")", color.r, color.g, color.b); ^ 1 error generated. Regressed by 7cdbe1d3d24c1cc13bd7cbc3fe252f1e88747ffb --- src/json_ui.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/json_ui.cc b/src/json_ui.cc index 4691f609..b4c6528c 100644 --- a/src/json_ui.cc +++ b/src/json_ui.cc @@ -9,6 +9,7 @@ #include "ranges.hh" #include "string_utils.hh" +#include #include #include