diff options
Diffstat (limited to 'mysys/waiting_threads.c')
-rw-r--r-- | mysys/waiting_threads.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mysys/waiting_threads.c b/mysys/waiting_threads.c index 35f19aa7edb..cf67e8291cb 100644 --- a/mysys/waiting_threads.c +++ b/mysys/waiting_threads.c @@ -174,6 +174,7 @@ #include <waiting_threads.h> #include <m_string.h> +#include "my_cpu.h" /* status variables */ @@ -617,7 +618,7 @@ retry: { rc= *shared_ptr; lf_pin(arg->thd->pins, 0, rc); - } while (rc != *shared_ptr && LF_BACKOFF); + } while (rc != *shared_ptr && LF_BACKOFF()); if (rc == 0) { |