diff options
author | unknown <monty@hundin.mysql.fi> | 2001-10-10 01:26:56 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-10-10 01:26:56 +0300 |
commit | 126e9b5577bf6ab9694745bc6085572d7ddeca88 (patch) | |
tree | bca55ff29e9526df2dd442df88d060c9cce05315 /tools/mysqlmanager.c | |
parent | fe576bde63b7267accb56cb82141563503eb6db0 (diff) | |
download | mariadb-git-126e9b5577bf6ab9694745bc6085572d7ddeca88.tar.gz |
Portability & build fixes
Build-tools/Do-compile:
Fix for new mysqlmanager
Build-tools/Do-rpm:
Make build safer
Docs/manual.texi:
Cleanup limitations section
tools/mysqlmanager.c:
Cleanup used include files
Diffstat (limited to 'tools/mysqlmanager.c')
-rw-r--r-- | tools/mysqlmanager.c | 20 |
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" |