summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2012-04-15 01:54:28 +0200
committerVladislav Vaintroub <wlad@montyprogram.com>2012-04-15 01:54:28 +0200
commit296167d6d222a84ef5c019f7572378075b0d7c7c (patch)
tree8780a1bc47b11c07c43c82cb7297211b3b7616f6 /mysys
parent0a2afb7259e1cac86248f293176afc449ad265e4 (diff)
downloadmariadb-git-296167d6d222a84ef5c019f7572378075b0d7c7c.tar.gz
fix compile error on unixes
Diffstat (limited to 'mysys')
-rw-r--r--mysys/my_init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mysys/my_init.c b/mysys/my_init.c
index 14f831f72b2..193c8281577 100644
--- a/mysys/my_init.c
+++ b/mysys/my_init.c
@@ -29,13 +29,14 @@
#pragma comment(lib, "ws2_32")
#endif
my_bool have_tcpip=0;
-extern pthread_key(struct st_my_thread_var*, THR_KEY_mysys);
static void my_win_init(void);
static my_bool win32_init_tcp_ip();
#else
#define my_win_init()
#endif
+extern pthread_key(struct st_my_thread_var*, THR_KEY_mysys);
+
#define SCALE_SEC 100
#define SCALE_USEC 10000