aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/openssl/SCsub11
-rw-r--r--modules/openssl/stream_peer_openssl.h6
-rw-r--r--modules/stb_vorbis/audio_stream_ogg_vorbis.cpp3
-rw-r--r--modules/stb_vorbis/audio_stream_ogg_vorbis.h2
-rw-r--r--modules/theora/video_stream_theora.cpp3
-rw-r--r--modules/webm/video_stream_webm.cpp3
-rw-r--r--thirdparty/misc/curl_hostcheck.c (renamed from modules/openssl/curl_hostcheck.c)0
-rw-r--r--thirdparty/misc/curl_hostcheck.h (renamed from modules/openssl/curl_hostcheck.h)0
-rw-r--r--thirdparty/misc/yuv2rgb.h (renamed from modules/theora/yuv2rgb.h)0
9 files changed, 21 insertions, 7 deletions
diff --git a/modules/openssl/SCsub b/modules/openssl/SCsub
index 0e811ce8c..add7d4dcf 100644
--- a/modules/openssl/SCsub
+++ b/modules/openssl/SCsub
@@ -677,7 +677,16 @@ if (env['builtin_openssl'] != 'no'):
# Module sources
env_openssl.add_source_files(env.modules_sources, "*.cpp")
-env_openssl.add_source_files(env.modules_sources, "*.c")
+
+
+# Other thirdparty dependencies
+thirdparty_misc_dir = "#thirdparty/misc/"
+thirdparty_misc_sources = [
+ "curl_hostcheck.c",
+]
+thirdparty_misc_sources = [thirdparty_misc_dir + file for file in thirdparty_misc_sources]
+env_openssl.add_source_files(env.modules_sources, thirdparty_misc_sources)
+
# platform/uwp need to know openssl is available, pass to main env
if "platform" in env and env["platform"] == "uwp":
diff --git a/modules/openssl/stream_peer_openssl.h b/modules/openssl/stream_peer_openssl.h
index 12262da94..5c830ebf3 100644
--- a/modules/openssl/stream_peer_openssl.h
+++ b/modules/openssl/stream_peer_openssl.h
@@ -30,17 +30,19 @@
#ifndef STREAM_PEER_OPEN_SSL_H
#define STREAM_PEER_OPEN_SSL_H
-#include "curl_hostcheck.h"
#include "global_config.h"
#include "io/stream_peer_ssl.h"
#include "os/file_access.h"
-#include <stdio.h> // If you don't know what this is for stop reading now.
+
+#include "thirdparty/misc/curl_hostcheck.h"
#include <openssl/bio.h> // BIO objects for I/O
#include <openssl/err.h> // Error reporting
#include <openssl/ssl.h> // SSL and SSL_CTX for SSL connections
#include <openssl/x509v3.h>
+#include <stdio.h>
+
class StreamPeerOpenSSL : public StreamPeerSSL {
private:
static int _bio_create(BIO *b);
diff --git a/modules/stb_vorbis/audio_stream_ogg_vorbis.cpp b/modules/stb_vorbis/audio_stream_ogg_vorbis.cpp
index b0870c9dc..c645a5570 100644
--- a/modules/stb_vorbis/audio_stream_ogg_vorbis.cpp
+++ b/modules/stb_vorbis/audio_stream_ogg_vorbis.cpp
@@ -30,7 +30,8 @@
#include "audio_stream_ogg_vorbis.h"
#include "os/file_access.h"
-#include "thirdparty/stb_vorbis/stb_vorbis.c"
+
+#include "thirdparty/misc/stb_vorbis.c"
void AudioStreamPlaybackOGGVorbis::_mix_internal(AudioFrame *p_buffer, int p_frames) {
diff --git a/modules/stb_vorbis/audio_stream_ogg_vorbis.h b/modules/stb_vorbis/audio_stream_ogg_vorbis.h
index bb895c4df..287aa4ca4 100644
--- a/modules/stb_vorbis/audio_stream_ogg_vorbis.h
+++ b/modules/stb_vorbis/audio_stream_ogg_vorbis.h
@@ -34,7 +34,7 @@
#include "servers/audio/audio_stream.h"
#define STB_VORBIS_HEADER_ONLY
-#include "thirdparty/stb_vorbis/stb_vorbis.c"
+#include "thirdparty/misc/stb_vorbis.c"
#undef STB_VORBIS_HEADER_ONLY
class AudioStreamOGGVorbis;
diff --git a/modules/theora/video_stream_theora.cpp b/modules/theora/video_stream_theora.cpp
index 28463e2cb..61112f20b 100644
--- a/modules/theora/video_stream_theora.cpp
+++ b/modules/theora/video_stream_theora.cpp
@@ -31,7 +31,8 @@
#include "global_config.h"
#include "os/os.h"
-#include "yuv2rgb.h"
+
+#include "thirdparty/misc/yuv2rgb.h"
int VideoStreamPlaybackTheora::buffer_data() {
diff --git a/modules/webm/video_stream_webm.cpp b/modules/webm/video_stream_webm.cpp
index 9d8062d28..eaf421530 100644
--- a/modules/webm/video_stream_webm.cpp
+++ b/modules/webm/video_stream_webm.cpp
@@ -32,12 +32,13 @@
#include "OpusVorbisDecoder.hpp"
#include "VPXDecoder.hpp"
-#include "../theora/yuv2rgb.h"
#include "mkvparser/mkvparser.h"
#include "global_config.h"
#include "os/file_access.h"
+#include "thirdparty/misc/yuv2rgb.h"
+
#include <string.h>
class MkvReader : public mkvparser::IMkvReader {
diff --git a/modules/openssl/curl_hostcheck.c b/thirdparty/misc/curl_hostcheck.c
index feef23261..feef23261 100644
--- a/modules/openssl/curl_hostcheck.c
+++ b/thirdparty/misc/curl_hostcheck.c
diff --git a/modules/openssl/curl_hostcheck.h b/thirdparty/misc/curl_hostcheck.h
index 1b7fbe81e..1b7fbe81e 100644
--- a/modules/openssl/curl_hostcheck.h
+++ b/thirdparty/misc/curl_hostcheck.h
diff --git a/modules/theora/yuv2rgb.h b/thirdparty/misc/yuv2rgb.h
index a9bef76da..a9bef76da 100644
--- a/modules/theora/yuv2rgb.h
+++ b/thirdparty/misc/yuv2rgb.h