diff --git a/cpp/src/arrow/compute/exec/aggregate.cc b/cpp/src/arrow/compute/exec/aggregate.cc index 95f85317c8d59..180cfacf3d5e9 100644 --- a/cpp/src/arrow/compute/exec/aggregate.cc +++ b/cpp/src/arrow/compute/exec/aggregate.cc @@ -19,6 +19,7 @@ #include #include +#include #include "arrow/compute/exec_internal.h" #include "arrow/compute/registry.h" diff --git a/cpp/src/arrow/compute/exec/tpch_node.cc b/cpp/src/arrow/compute/exec/tpch_node.cc index 5d385bb2b7cbc..0cd33313b0375 100644 --- a/cpp/src/arrow/compute/exec/tpch_node.cc +++ b/cpp/src/arrow/compute/exec/tpch_node.cc @@ -24,6 +24,7 @@ #include #include #include +#include #include #include