Skip to content

Commit 13c1870

Browse files
Twonamoeba
authored andcommitted
GH-45545: [C++][Parquet] Add missing includes (#45554)
### Rationale for this change This fixed a compile error under Windows and MacOS when attempting to package this library as a Conan package: conan-io/conan-center-index#26623 ### What changes are included in this PR? It adds 2 missing headers from the STL, array and vector, which cause resulting compiler errors. ### Are these changes tested? They are tested and passing for the Conan package of these libraries here: conan-io/conan-center-index#26623 ### Are there any user-facing changes? No, only changes within a source file. * GitHub Issue: #45545 Authored-by: Antony Peacock <[email protected]> Signed-off-by: Bryce Mecum <[email protected]>
1 parent b953c4f commit 13c1870

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cpp/src/parquet/size_statistics.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@
1818
#include "parquet/size_statistics.h"
1919

2020
#include <algorithm>
21+
#include <array>
2122
#include <numeric>
2223
#include <ostream>
2324
#include <string_view>
25+
#include <vector>
2426

2527
#include "arrow/util/logging.h"
2628
#include "parquet/exception.h"

0 commit comments

Comments
 (0)