M cmd/chown.cpp => cmd/chown.cpp +1 -0
@@ 3,6 3,7 @@
#include <algorithm>
+#include <array>
#include <cstdio>
#include <errno.h>
#include <fts.h>
M cmd/tr.cpp => cmd/tr.cpp +2 -1
@@ 3,6 3,7 @@
#include <algorithm>
#include <cctype>
+#include <clocale>
#include <cstring>
#include <cwctype>
#include <getopt.h>
@@ 218,7 219,7 @@ enum class operation : std::uint8_t { translate, prune, nothing };
int main(int argc, char * const * argv) {
- setlocale(LC_ALL, ""); // TODO: locale
+ std::setlocale(LC_ALL, ""); // TODO: locale
auto complement = false;
auto prune = false;