aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2024-09-03 08:02:48 +0200
committerPierre Ossman <ossman@cendio.se>2024-09-04 11:27:20 +0200
commit1f3e77d75a912b30f554d745a56f5da1e4de966e (patch)
treeb23dca888f748d3b15e421228301f1d38b72db63
parentda1adb5073dad2ae9cd968dc6f213c9f027c46ce (diff)
downloadtigervnc-1f3e77d75a912b30f554d745a56f5da1e4de966e.tar.gz
tigervnc-1f3e77d75a912b30f554d745a56f5da1e4de966e.zip
Add missing config.h includes
-rw-r--r--common/rfb/AccessRights.cxx4
-rw-r--r--common/rfb/H264Decoder.cxx4
-rw-r--r--common/rfb/H264DecoderContext.cxx4
-rw-r--r--common/rfb/H264LibavDecoderContext.cxx3
-rw-r--r--common/rfb/H264WinDecoderContext.cxx4
5 files changed, 19 insertions, 0 deletions
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 <config.h>
+#endif
+
#include "AccessRights.h"
namespace rfb
diff --git a/common/rfb/H264Decoder.cxx b/common/rfb/H264Decoder.cxx
index 1a310a3c..3178a17b 100644
--- a/common/rfb/H264Decoder.cxx
+++ b/common/rfb/H264Decoder.cxx
@@ -18,6 +18,10 @@
* USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#define MAX_H264_INSTANCES 64
#include <deque>
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 <config.h>
+#endif
+
#include <os/Mutex.h>
#include <rfb/Exception.h>
#include <rfb/LogWriter.h>
diff --git a/common/rfb/H264LibavDecoderContext.cxx b/common/rfb/H264LibavDecoderContext.cxx
index 73bfb68c..fa2f367b 100644
--- a/common/rfb/H264LibavDecoderContext.cxx
+++ b/common/rfb/H264LibavDecoderContext.cxx
@@ -18,6 +18,9 @@
* USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
extern "C" {
#include <libavutil/imgutils.h>
diff --git a/common/rfb/H264WinDecoderContext.cxx b/common/rfb/H264WinDecoderContext.cxx
index 8422b5c4..a9b13942 100644
--- a/common/rfb/H264WinDecoderContext.cxx
+++ b/common/rfb/H264WinDecoderContext.cxx
@@ -18,6 +18,10 @@
* USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <mfapi.h>
#include <mferror.h>
#include <wmcodecdsp.h>