1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-22621: perfschema add FreeBSD include header for pthread_getthreadid_np

This commit is contained in:
Daniel Black
2020-06-22 13:31:59 +10:00
committed by Daniel Black
parent 744919552c
commit fecc6caa27

View File

@@ -10,6 +10,10 @@
#include <sys/syscall.h>
#endif
#ifdef HAVE_PTHREAD_GETTHREADID_NP
#include <pthread_np.h>
#endif
typedef pthread_key_t thread_local_key_t;
typedef pthread_t my_thread_handle;
typedef pthread_attr_t my_thread_attr_t;