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 7cdbe1d3d2
This commit is contained in:
Tobias Kortkamp 2019-12-10 18:13:08 +01:00
parent 9ace7b584d
commit fc2b5c5f7b
No known key found for this signature in database
GPG Key ID: F4815C5F893E655D

View File

@ -9,6 +9,7 @@
#include "ranges.hh"
#include "string_utils.hh"
#include <cstdio>
#include <utility>
#include <unistd.h>