diff options
Diffstat (limited to 'gprofng/libcollector/collector.h')
-rw-r--r-- | gprofng/libcollector/collector.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gprofng/libcollector/collector.h b/gprofng/libcollector/collector.h index c54568d891c..b589d3f3d18 100644 --- a/gprofng/libcollector/collector.h +++ b/gprofng/libcollector/collector.h @@ -21,7 +21,6 @@ #ifndef _COLLECTOR_H #define _COLLECTOR_H -#include <ucontext.h> #include <signal.h> #include "gp-defs.h" @@ -31,6 +30,11 @@ #define GETRELTIME() (__collector_gethrtime() - __collector_start_time) +#if defined(__MUSL_LIBC) +#define dlvsym(f, nm, v) dlsym (f, nm) +#define SIGEV_THREAD_ID 4 +#endif + extern hrtime_t __collector_start_time; /* ========================================================== */ |