summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-10-10 01:26:56 +0300
committermonty@hundin.mysql.fi <>2001-10-10 01:26:56 +0300
commit51555b40208ad606937dc2ea070ef0e681895806 (patch)
treebca55ff29e9526df2dd442df88d060c9cce05315 /tools
parent2eb83ad4e941307b9b352c0a8f72399559dc107f (diff)
downloadmariadb-git-51555b40208ad606937dc2ea070ef0e681895806.tar.gz
Portability & build fixes
Diffstat (limited to 'tools')
-rw-r--r--tools/mysqlmanager.c20
1 files changed, 9 insertions, 11 deletions
diff --git a/tools/mysqlmanager.c b/tools/mysqlmanager.c
index 071e14562a7..3a95b4e9a49 100644
--- a/tools/mysqlmanager.c
+++ b/tools/mysqlmanager.c
@@ -21,27 +21,25 @@
**/
#include <my_global.h>
-#include <my_sys.h>
-#include <m_string.h>
+#include <my_pthread.h>
#include <mysql.h>
#include <mysql_version.h>
-#include <m_ctype.h>
-#include <my_config.h>
+#include <mysqld_error.h>
+#include <my_sys.h>
#include <my_dir.h>
+#include <m_string.h>
+#include <m_ctype.h>
#include <hash.h>
-#include <mysqld_error.h>
-#include <stdio.h>
-#include <stdlib.h>
#include <getopt.h>
#include <stdarg.h>
#include <sys/stat.h>
-#include <sys/types.h>
-#include <sys/wait.h>
-#include <unistd.h>
#include <errno.h>
#include <violite.h>
-#include <my_pthread.h>
#include <md5.h>
+#include <signal.h>
+#ifdef HAVE_SYS_WAIT_H
+#include <sys/wait.h>
+#endif
#define MANAGER_VERSION "1.0"
#define MANAGER_GREETING "MySQL Server Management Daemon v. 1.0"