From 1ea066254f22a78e7c0826176df9b4c2eb3b5fc2 Mon Sep 17 00:00:00 2001 From: Ben Webb Date: Mon, 29 Apr 2024 10:21:32 -0700 Subject: [PATCH] directory.hpp wasn't added until Boost 1.72 Just use the old operations.hpp for older versions of Boost. --- benchmark/benchmark_rmf.cpp | 3 +++ src/backend/deprecated_avro/MultipleAvroFileReader.cpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/benchmark/benchmark_rmf.cpp b/benchmark/benchmark_rmf.cpp index 7898d444..3800e6e8 100644 --- a/benchmark/benchmark_rmf.cpp +++ b/benchmark/benchmark_rmf.cpp @@ -6,8 +6,11 @@ */ #include +#include #include +#if BOOST_VERSION >= 107200 #include +#endif #include #include #include diff --git a/src/backend/deprecated_avro/MultipleAvroFileReader.cpp b/src/backend/deprecated_avro/MultipleAvroFileReader.cpp index 211bfa7c..c7e63758 100644 --- a/src/backend/deprecated_avro/MultipleAvroFileReader.cpp +++ b/src/backend/deprecated_avro/MultipleAvroFileReader.cpp @@ -6,8 +6,11 @@ * */ +#include #include +#if BOOST_VERSION >= 107200 #include +#endif #include #include #include