blob: 830e85f6585cdf4853751197a5f03fa0c0e3f0fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-test_testhistorybigram.cpp,v 1.1 2021/11/09 10:15:36 nia Exp $
std:log10() needs <cmath> to be included.
Fixes building on NetBSD 9.99.x.
--- test/testhistorybigram.cpp.orig 2020-05-27 17:33:52.118881000 +0000
+++ test/testhistorybigram.cpp
@@ -8,6 +8,7 @@
#include <boost/range/irange.hpp>
#include <fcitx-utils/log.h>
#include <sstream>
+#include <cmath>
void testBasic() {
using namespace libime;
|