From 16f791a55a2565723fad63a78a656a3ac914876d Mon Sep 17 00:00:00 2001 From: Jonathan Thomas Date: Tue, 16 Dec 2025 18:23:57 -0600 Subject: [PATCH] Adding missing includes for older compilers, and because it should be included anyway --- examples/Example_opencv.cpp | 1 + external/godot-cpp | 2 +- src/CacheDisk.cpp | 1 + src/ChunkReader.cpp | 1 + src/ChunkWriter.cpp | 2 ++ src/Clip.cpp | 1 + src/FFmpegReader.cpp | 1 + src/FFmpegWriter.cpp | 1 + src/WriterBase.cpp | 1 + tests/AudioWaveformer.cpp | 1 + tests/Caption.cpp | 1 + tests/DummyReader.cpp | 1 + tests/FrameMapper.cpp | 1 + tests/ImageReader.cpp | 1 + tests/QtImageReader.cpp | 1 + 15 files changed, 16 insertions(+), 1 deletion(-) diff --git a/examples/Example_opencv.cpp b/examples/Example_opencv.cpp index f25c01e0f..5b9adb1e0 100644 --- a/examples/Example_opencv.cpp +++ b/examples/Example_opencv.cpp @@ -13,6 +13,7 @@ #include #include #include +#include #include "CVTracker.h" #include "CVStabilization.h" #include "CVObjectDetection.h" diff --git a/external/godot-cpp b/external/godot-cpp index cc8ad37ee..b0e3b1e4b 160000 --- a/external/godot-cpp +++ b/external/godot-cpp @@ -1 +1 @@ -Subproject commit cc8ad37ee0d70c70d2334f44f2eec979582061c7 +Subproject commit b0e3b1e4b78a606f48d162898afb5eeda533d2a9 diff --git a/src/CacheDisk.cpp b/src/CacheDisk.cpp index 960744faf..22842db3a 100644 --- a/src/CacheDisk.cpp +++ b/src/CacheDisk.cpp @@ -15,6 +15,7 @@ #include "Frame.h" #include "QtUtilities.h" +#include #include #include #include diff --git a/src/ChunkReader.cpp b/src/ChunkReader.cpp index f8dfa5038..66fdf2945 100644 --- a/src/ChunkReader.cpp +++ b/src/ChunkReader.cpp @@ -11,6 +11,7 @@ // SPDX-License-Identifier: LGPL-3.0-or-later #include +#include #include "ChunkReader.h" #include "Exceptions.h" diff --git a/src/ChunkWriter.cpp b/src/ChunkWriter.cpp index 62d54e084..24ff4581f 100644 --- a/src/ChunkWriter.cpp +++ b/src/ChunkWriter.cpp @@ -14,6 +14,8 @@ #include "Exceptions.h" #include "Frame.h" +#include + using namespace openshot; ChunkWriter::ChunkWriter(std::string path, ReaderBase *reader) : diff --git a/src/Clip.cpp b/src/Clip.cpp index b385ec538..022c00650 100644 --- a/src/Clip.cpp +++ b/src/Clip.cpp @@ -24,6 +24,7 @@ #include #include +#include #ifdef USE_IMAGEMAGICK #include "MagickUtilities.h" diff --git a/src/FFmpegReader.cpp b/src/FFmpegReader.cpp index 8e38d48d1..82c595f31 100644 --- a/src/FFmpegReader.cpp +++ b/src/FFmpegReader.cpp @@ -17,6 +17,7 @@ #include // for std::chrono::milliseconds #include #include +#include #include #include "FFmpegUtilities.h" diff --git a/src/FFmpegWriter.cpp b/src/FFmpegWriter.cpp index b1feafe3f..26379041e 100644 --- a/src/FFmpegWriter.cpp +++ b/src/FFmpegWriter.cpp @@ -17,6 +17,7 @@ #include #include #include +#include #include #include "FFmpegUtilities.h" diff --git a/src/WriterBase.cpp b/src/WriterBase.cpp index 7a47a2c4b..79542143c 100644 --- a/src/WriterBase.cpp +++ b/src/WriterBase.cpp @@ -13,6 +13,7 @@ #include #include #include +#include #include "WriterBase.h" #include "Exceptions.h" diff --git a/tests/AudioWaveformer.cpp b/tests/AudioWaveformer.cpp index 7327c3835..1be2d5d30 100644 --- a/tests/AudioWaveformer.cpp +++ b/tests/AudioWaveformer.cpp @@ -22,6 +22,7 @@ #include #include #include +#include using namespace openshot; diff --git a/tests/Caption.cpp b/tests/Caption.cpp index d90b43c50..bc5768f0c 100644 --- a/tests/Caption.cpp +++ b/tests/Caption.cpp @@ -12,6 +12,7 @@ #include +#include #include "openshot_catch.h" #include #include diff --git a/tests/DummyReader.cpp b/tests/DummyReader.cpp index 7d459392d..398b80ead 100644 --- a/tests/DummyReader.cpp +++ b/tests/DummyReader.cpp @@ -19,6 +19,7 @@ #include "CacheMemory.h" #include "Fraction.h" #include "Frame.h" +#include TEST_CASE( "Default constructor", "[libopenshot][dummyreader]" ) { openshot::DummyReader r; diff --git a/tests/FrameMapper.cpp b/tests/FrameMapper.cpp index 4396f9b2c..9f92149d1 100644 --- a/tests/FrameMapper.cpp +++ b/tests/FrameMapper.cpp @@ -21,6 +21,7 @@ #include "Frame.h" #include "FrameMapper.h" #include "Timeline.h" +#include using namespace openshot; diff --git a/tests/ImageReader.cpp b/tests/ImageReader.cpp index 9183e7cf7..9232fb082 100644 --- a/tests/ImageReader.cpp +++ b/tests/ImageReader.cpp @@ -15,6 +15,7 @@ #include "ImageReader.h" #include "Exceptions.h" #include "Frame.h" +#include using namespace openshot; diff --git a/tests/QtImageReader.cpp b/tests/QtImageReader.cpp index 353049f5c..e48839c34 100644 --- a/tests/QtImageReader.cpp +++ b/tests/QtImageReader.cpp @@ -13,6 +13,7 @@ #include "openshot_catch.h" #include +#include #include "QtImageReader.h" #include "Clip.h"