diff --git a/src/colour_button.cpp b/src/colour_button.cpp index c0b1c5d58..83671ebf3 100644 --- a/src/colour_button.cpp +++ b/src/colour_button.cpp @@ -18,7 +18,11 @@ #include "dialogs.h" +#if BOOST_VERSION >= 106900 +#include +#else #include +#endif AGI_DEFINE_EVENT(EVT_COLOR, agi::Color); diff --git a/src/subtitles_provider_libass.cpp b/src/subtitles_provider_libass.cpp index efb5cb481..815c820da 100644 --- a/src/subtitles_provider_libass.cpp +++ b/src/subtitles_provider_libass.cpp @@ -46,7 +46,11 @@ #include #include +#if BOOST_VERSION >= 106900 +#include +#else #include +#endif #include #include diff --git a/src/video_frame.cpp b/src/video_frame.cpp index 610005879..c7957d964 100644 --- a/src/video_frame.cpp +++ b/src/video_frame.cpp @@ -16,7 +16,11 @@ #include "video_frame.h" +#if BOOST_VERSION >= 106900 +#include +#else #include +#endif #include namespace { diff --git a/src/video_provider_dummy.cpp b/src/video_provider_dummy.cpp index b68b206b7..17a1508b5 100644 --- a/src/video_provider_dummy.cpp +++ b/src/video_provider_dummy.cpp @@ -45,7 +45,11 @@ #include #include #include +#if BOOST_VERSION >= 106900 +#include +#else #include +#endif DummyVideoProvider::DummyVideoProvider(double fps, int frames, int width, int height, agi::Color colour, bool pattern) : framecount(frames)