summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/cmake/GStreamer10Plugin.cmake2
-rw-r--r--indra/media_plugins/base/media_plugin_base.cpp2
-rw-r--r--indra/media_plugins/base/media_plugin_base.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/indra/cmake/GStreamer10Plugin.cmake b/indra/cmake/GStreamer10Plugin.cmake
index da2e33d04d..160844ef68 100644
--- a/indra/cmake/GStreamer10Plugin.cmake
+++ b/indra/cmake/GStreamer10Plugin.cmake
@@ -7,7 +7,7 @@ include(GLIB)
add_library( ll::gstreamer10 INTERFACE IMPORTED )
-if (LINUX)
+if (LINUX OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
include(FindPkgConfig)
pkg_check_modules(GSTREAMER10 REQUIRED gstreamer-1.0)
diff --git a/indra/media_plugins/base/media_plugin_base.cpp b/indra/media_plugins/base/media_plugin_base.cpp
index b21f29ac32..4288275948 100644
--- a/indra/media_plugins/base/media_plugin_base.cpp
+++ b/indra/media_plugins/base/media_plugin_base.cpp
@@ -167,7 +167,7 @@ void MediaPluginBase::sendStatus()
sendMessage(message);
}
-#if LL_LINUX
+#if LL_LINUX || __FreeBSD__
size_t SymbolGrabber::registerSymbol( SymbolToGrab aSymbol )
{
diff --git a/indra/media_plugins/base/media_plugin_base.h b/indra/media_plugins/base/media_plugin_base.h
index a084fc9834..a6f3bc7d71 100644
--- a/indra/media_plugins/base/media_plugin_base.h
+++ b/indra/media_plugins/base/media_plugin_base.h
@@ -32,7 +32,7 @@
#include "llpluginmessage.h"
#include "llpluginmessageclasses.h"
-#if LL_LINUX
+#if LL_LINUX || __FreeBSD__
struct SymbolToGrab
{