mirror of
https://github.com/danog/libtgvoip.git
synced 2024-11-27 04:34:42 +01:00
fix build against musl libc
This commit is contained in:
parent
60d40e4ee4
commit
6737ba68ce
@ -14,6 +14,9 @@
|
||||
#define TGVOIP_IN_AUDIO_IO
|
||||
#include "PulseAudioLoader.h"
|
||||
#undef TGVOIP_IN_AUDIO_IO
|
||||
#if !defined(__GLIBC__)
|
||||
#include <libgen.h>
|
||||
#endif
|
||||
|
||||
#define BUFFER_SIZE 960
|
||||
#define CHECK_ERROR(res, msg) if(res!=0){LOGE(msg " failed: %s", pa_strerror(res)); failed=true; return;}
|
||||
|
@ -14,6 +14,9 @@
|
||||
#define TGVOIP_IN_AUDIO_IO
|
||||
#include "PulseAudioLoader.h"
|
||||
#undef TGVOIP_IN_AUDIO_IO
|
||||
#if !defined(__GLIBC__)
|
||||
#include <libgen.h>
|
||||
#endif
|
||||
|
||||
#define BUFFER_SIZE 960
|
||||
#define CHECK_ERROR(res, msg) if(res!=0){LOGE(msg " failed: %s", pa_strerror(res)); failed=true; return;}
|
||||
|
Loading…
Reference in New Issue
Block a user