summaryrefslogtreecommitdiff
path: root/net-im/telegram-desktop/files/patch-Telegram_ThirdParty_libtgvoip_os_linux_AudioPulse.cpp
blob: b2b82b4aafa5b583e3bb5d0e249ec49b7566a238 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- Telegram/ThirdParty/libtgvoip/os/linux/AudioPulse.cpp.orig	2018-11-23 01:03:16 UTC
+++ Telegram/ThirdParty/libtgvoip/os/linux/AudioPulse.cpp
@@ -7,6 +7,9 @@
 #include "AudioPulse.h"
 #include <dlfcn.h>
 #include "../../logging.h"
+#ifdef __FreeBSD__
+#include <libgen.h>
+#endif
 
 #define DECLARE_DL_FUNCTION(name) typeof(name)* AudioPulse::_import_##name=NULL
 #define CHECK_DL_ERROR(res, msg) if(!res){LOGE(msg ": %s", dlerror()); return false;}