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:
parent
9ace7b584d
commit
fc2b5c5f7b
|
@ -9,6 +9,7 @@
|
|||
#include "ranges.hh"
|
||||
#include "string_utils.hh"
|
||||
|
||||
#include <cstdio>
|
||||
#include <utility>
|
||||
|
||||
#include <unistd.h>
|
||||
|
|
Loading…
Reference in New Issue
Block a user