summaryrefslogtreecommitdiff
path: root/plugin/daemon_example
diff options
context:
space:
mode:
authorJonathan Perkin <jonathan.perkin@oracle.com>2010-05-27 12:52:01 +0100
committerJonathan Perkin <jonathan.perkin@oracle.com>2010-05-27 12:52:01 +0100
commit8a22c222dc56da3cfd994292cb18376685d0eb29 (patch)
treee8f86ef67c632e1a5bf5acddfc09296223535252 /plugin/daemon_example
parentbac571e136a0bfe448576128870fb888587f86d1 (diff)
downloadmariadb-git-8a22c222dc56da3cfd994292cb18376685d0eb29.tar.gz
Fix HP-UX localtime_r issue correctly, patch from mats.
Diffstat (limited to 'plugin/daemon_example')
-rw-r--r--plugin/daemon_example/daemon_example.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugin/daemon_example/daemon_example.cc b/plugin/daemon_example/daemon_example.cc
index 8f037e8babb..43138f0655f 100644
--- a/plugin/daemon_example/daemon_example.cc
+++ b/plugin/daemon_example/daemon_example.cc
@@ -13,13 +13,12 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
+#include <my_global.h>
#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>
#include <my_dir.h>
#include "my_pthread.h" // pthread_handler_t
#include "my_sys.h" // my_write, my_malloc