summaryrefslogtreecommitdiff
path: root/user/telegram/headers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/telegram/headers.patch')
-rw-r--r--user/telegram/headers.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/user/telegram/headers.patch b/user/telegram/headers.patch
new file mode 100644
index 000000000..dece8ec21
--- /dev/null
+++ b/user/telegram/headers.patch
@@ -0,0 +1,12 @@
+Should send this one upstream; it would work with glibc as well.
+
+--- tdesktop-1.9.6-full/Telegram/ThirdParty/libtgvoip/os/linux/AudioPulse.cpp.old 2020-01-21 12:16:27.000000000 +0000
++++ tdesktop-1.9.6-full/Telegram/ThirdParty/libtgvoip/os/linux/AudioPulse.cpp 2020-01-22 17:44:42.185530350 +0000
+@@ -6,6 +6,7 @@
+
+ #include "AudioPulse.h"
+ #include <dlfcn.h>
++#include <libgen.h>
+ #include "../../logging.h"
+
+ #define DECLARE_DL_FUNCTION(name) typeof(name)* AudioPulse::_import_##name=NULL