Commit 7c6ec0a5 authored by Samuel Thibault's avatar Samuel Thibault Committed by Daniel Black

MDEV-27804 Fails to build - perf schema - thread id of type uintptr_t requires header

While building on GNU/Hurd and kfreebsd.

On the C++ standard uintptr_t can be defined in <cstdint>
ref: https://www.cplusplus.com/reference/cstdint/

Fixes: 0d44792a
parent 012e724d
......@@ -14,6 +14,10 @@
#include <pthread_np.h>
#endif
#if defined(HAVE_INTEGER_PTHREAD_SELF)
#include <cstdint>
#endif
typedef pthread_key_t thread_local_key_t;
typedef pthread_t my_thread_handle;
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