summaryrefslogtreecommitdiff
path: root/sql/hostname.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-08-30 15:03:55 +0200
committerSergei Golubchik <serg@mariadb.org>2015-09-04 10:33:52 +0200
commit2d2286faf3085160dbe345fe403c11c712a358ff (patch)
treef69bbeda6f3fe6bb26a2d132500d973f41f5881b /sql/hostname.cc
parent86b06a0e52b7583858df81fec8bd57cfe02b9999 (diff)
downloadmariadb-git-2d2286faf3085160dbe345fe403c11c712a358ff.tar.gz
cleanup: use enum_binlog_checksum_alg, not uint8
* fix unireg.h includes * use enum_binlog_checksum_alg for binlog checksum variables, not uint8
Diffstat (limited to 'sql/hostname.cc')
-rw-r--r--sql/hostname.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/hostname.cc b/sql/hostname.cc
index 1879d056623..656663a9692 100644
--- a/sql/hostname.cc
+++ b/sql/hostname.cc
@@ -27,7 +27,7 @@
#include <my_global.h>
#include "sql_priv.h"
#include "hostname.h"
-#include "my_global.h"
+#include "unireg.h"
#ifndef __WIN__
#include <netdb.h> // getservbyname, servent
#endif