diff options
Diffstat (limited to 'databases/mariadb105-server/files/patch-storage_perfschema_my__thread.h')
-rw-r--r-- | databases/mariadb105-server/files/patch-storage_perfschema_my__thread.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/databases/mariadb105-server/files/patch-storage_perfschema_my__thread.h b/databases/mariadb105-server/files/patch-storage_perfschema_my__thread.h new file mode 100644 index 000000000000..37c30c362e99 --- /dev/null +++ b/databases/mariadb105-server/files/patch-storage_perfschema_my__thread.h @@ -0,0 +1,13 @@ +--- storage/perfschema/my_thread.h.orig 2020-06-23 15:10:17 UTC ++++ storage/perfschema/my_thread.h +@@ -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; |