summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorJonathan Perkin <jonathan.perkin@oracle.com>2010-05-25 14:37:35 +0100
committerJonathan Perkin <jonathan.perkin@oracle.com>2010-05-25 14:37:35 +0100
commitc99e6287845c7799e7c603253b1d9e314ccbab7c (patch)
tree40e409ae4c3769ba624034e4343084a7f503371c /plugin
parenta44f5291fece609ed31ce63440db2edbb4beedad (diff)
downloadmariadb-git-c99e6287845c7799e7c603253b1d9e314ccbab7c.tar.gz
Pull in time.h for localtime_r.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/daemon_example/daemon_example.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/daemon_example/daemon_example.cc b/plugin/daemon_example/daemon_example.cc
index 2a41179974d..8f037e8babb 100644
--- a/plugin/daemon_example/daemon_example.cc
+++ b/plugin/daemon_example/daemon_example.cc
@@ -16,6 +16,7 @@
#include <sql_priv.h>
#include <stdlib.h>
#include <ctype.h>
+#include <time.h> // localtime_r
#include <mysql_version.h>
#include <mysql/plugin.h>
#include <my_global.h>