From 2a272b369f52f4113f25cbf6c9ef4dc180e0d144 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 3 Sep 2024 08:02:48 +0200 Subject: [PATCH] Add missing config.h includes (cherry picked from commit 1f3e77d75a912b30f554d745a56f5da1e4de966e) --- common/rfb/AccessRights.cxx | 4 ++++ common/rfb/H264Decoder.cxx | 4 ++++ common/rfb/H264DecoderContext.cxx | 4 ++++ common/rfb/H264LibavDecoderContext.cxx | 3 +++ common/rfb/H264WinDecoderContext.cxx | 4 ++++ 5 files changed, 19 insertions(+) diff --git a/common/rfb/AccessRights.cxx b/common/rfb/AccessRights.cxx index 65e6ce24..393979c7 100644 --- a/common/rfb/AccessRights.cxx +++ b/common/rfb/AccessRights.cxx @@ -16,6 +16,10 @@ * USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "AccessRights.h" namespace rfb diff --git a/common/rfb/H264Decoder.cxx b/common/rfb/H264Decoder.cxx index f18554ef..b798564f 100644 --- a/common/rfb/H264Decoder.cxx +++ b/common/rfb/H264Decoder.cxx @@ -18,6 +18,10 @@ * USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #define MAX_H264_INSTANCES 64 #include diff --git a/common/rfb/H264DecoderContext.cxx b/common/rfb/H264DecoderContext.cxx index ab990079..87ac0d85 100644 --- a/common/rfb/H264DecoderContext.cxx +++ b/common/rfb/H264DecoderContext.cxx @@ -18,6 +18,10 @@ * USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/common/rfb/H264LibavDecoderContext.cxx b/common/rfb/H264LibavDecoderContext.cxx index 789d0228..65cb029a 100644 --- a/common/rfb/H264LibavDecoderContext.cxx +++ b/common/rfb/H264LibavDecoderContext.cxx @@ -18,6 +18,9 @@ * USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif extern "C" { #include diff --git a/common/rfb/H264WinDecoderContext.cxx b/common/rfb/H264WinDecoderContext.cxx index bb29edb6..77f22ef0 100644 --- a/common/rfb/H264WinDecoderContext.cxx +++ b/common/rfb/H264WinDecoderContext.cxx @@ -18,6 +18,10 @@ * USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include -- 2.39.5