summaryrefslogtreecommitdiff
path: root/src/mysql/my_global.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mysql/my_global.h')
-rw-r--r--src/mysql/my_global.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mysql/my_global.h b/src/mysql/my_global.h
index af723424d..6c3937467 100644
--- a/src/mysql/my_global.h
+++ b/src/mysql/my_global.h
@@ -658,7 +658,7 @@ typedef SOCKET_SIZE_TYPE size_socket;
#define SET_STACK_SIZE(X) /* Not needed on real machines */
#if !defined(HAVE_mit_thread) && !defined(HAVE_STRTOK_R)
-#define strtok_r(A,B,C) strtok((A),(B))
+#include "../common/strlib.h"
#endif
/* Remove some things that mit_thread break or doesn't support */