summaryrefslogtreecommitdiff
path: root/platform/linuxbsd/tts_linux.h
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2023-02-15 14:13:56 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2023-02-16 16:38:47 +0200
commitdd068794c3fc811ca3011e63bd74ee50f2ccc591 (patch)
treea69b925d659ff39bdcac8078e5288a4b81c397b7 /platform/linuxbsd/tts_linux.h
parent953383328af17e8c9fd6359285c12617cb22f636 (diff)
[Linux] Make SO wrapper usage optional.
Diffstat (limited to 'platform/linuxbsd/tts_linux.h')
-rw-r--r--platform/linuxbsd/tts_linux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/linuxbsd/tts_linux.h b/platform/linuxbsd/tts_linux.h
index 425654d975..3fe7b659d0 100644
--- a/platform/linuxbsd/tts_linux.h
+++ b/platform/linuxbsd/tts_linux.h
@@ -39,7 +39,11 @@
#include "core/variant/array.h"
#include "servers/display_server.h"
+#ifdef SOWRAP_ENABLED
#include "speechd-so_wrap.h"
+#else
+#include <libspeechd.h>
+#endif
class TTS_Linux {
_THREAD_SAFE_CLASS_