summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>