use libunwind where glibc is not available

This commit is contained in:
Vlatko Kosturjak 2025-04-02 22:10:18 +02:00
parent bd576e3c5b
commit 011ae8d939
1 changed files with 4 additions and 0 deletions

View File

@ -30,7 +30,11 @@
*/
#include <ctype.h>
#ifdef __GLIBC__
#include <execinfo.h>
#else
#include <libunwind.h>
#endif
#include <pthread.h>
#include <stddef.h>
#include <string.h>