summaryrefslogtreecommitdiff
path: root/plugin/daemon_example/daemon_example.cc
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
commit6ed71b7d1ed00fb3d433b4cab2ba1fdf22426642 (patch)
tree40e409ae4c3769ba624034e4343084a7f503371c /plugin/daemon_example/daemon_example.cc
parent39d97652970c1c823aee014b4ca4bf785c7aeeb0 (diff)
downloadmariadb-git-6ed71b7d1ed00fb3d433b4cab2ba1fdf22426642.tar.gz
Pull in time.h for localtime_r.
Diffstat (limited to 'plugin/daemon_example/daemon_example.cc')
-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>