diff options
author | dlenev@brandersnatch.localdomain <> | 2004-08-24 13:53:02 +0400 |
---|---|---|
committer | dlenev@brandersnatch.localdomain <> | 2004-08-24 13:53:02 +0400 |
commit | 577d9b6ff2d49a2e2e493b5c5c8c07d668e7975d (patch) | |
tree | ec6bd106ea4555aaee94980e06ab56b46783aeb7 /sql-common/my_time.c | |
parent | 43a853dd4d867f8b4ad8a31ddca4ffaef5fd4b96 (diff) | |
download | mariadb-git-577d9b6ff2d49a2e2e493b5c5c8c07d668e7975d.tar.gz |
Fixed windows-specific warning about undeclared localtime_r() in my_time.c.
We have to include my_pthread.h since it is the place where localtime_r() is declared
on platforms where this function is missing.
Diffstat (limited to 'sql-common/my_time.c')
-rw-r--r-- | sql-common/my_time.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql-common/my_time.c b/sql-common/my_time.c index 855e92d6648..fcfa2efef61 100644 --- a/sql-common/my_time.c +++ b/sql-common/my_time.c @@ -17,6 +17,8 @@ #include <my_time.h> #include <m_string.h> #include <m_ctype.h> +/* Windows version of localtime_r() is declared in my_ptrhead.h */ +#include <my_pthread.h> ulonglong log_10_int[20]= { |