You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by yi...@apache.org on 2021/07/09 02:26:25 UTC

[arrow] branch master updated: ARROW-13290: [C++] Add missing include

This is an automated email from the ASF dual-hosted git repository.

yibocai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 140f608  ARROW-13290: [C++] Add missing include
140f608 is described below

commit 140f6087b526991248a6e05bdcf16996fbc4421f
Author: Alex Baden <al...@gmail.com>
AuthorDate: Fri Jul 9 02:25:04 2021 +0000

    ARROW-13290: [C++] Add missing include
    
    Noticed this issue compiling w/ clang-12 and gcc-11 on Arch linux (both using the PKGBUILD and building from source).
    
    Closes #10685 from alexbaden/ARROW-13290
    
    Authored-by: Alex Baden <al...@gmail.com>
    Signed-off-by: Yibo Cai <yi...@arm.com>
---
 cpp/src/arrow/util/tdigest.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cpp/src/arrow/util/tdigest.cc b/cpp/src/arrow/util/tdigest.cc
index b23bca3..99b771c 100644
--- a/cpp/src/arrow/util/tdigest.cc
+++ b/cpp/src/arrow/util/tdigest.cc
@@ -20,6 +20,7 @@
 #include <algorithm>
 #include <cmath>
 #include <iostream>
+#include <limits>
 #include <queue>
 #include <tuple>
 #include <vector>