Commit fecc6caa authored by Daniel Black's avatar Daniel Black Committed by Daniel Black

MDEV-22621: perfschema add FreeBSD include header for pthread_getthreadid_np

parent 74491955
...@@ -10,6 +10,10 @@ ...@@ -10,6 +10,10 @@
#include <sys/syscall.h> #include <sys/syscall.h>
#endif #endif
#ifdef HAVE_PTHREAD_GETTHREADID_NP
#include <pthread_np.h>
#endif
typedef pthread_key_t thread_local_key_t; typedef pthread_key_t thread_local_key_t;
typedef pthread_t my_thread_handle; typedef pthread_t my_thread_handle;
typedef pthread_attr_t my_thread_attr_t; typedef pthread_attr_t my_thread_attr_t;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment