From 1d63e924d7e38d5c653b8fd8be044f303124d0a9 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 2 Feb 2001 03:47:06 +0200 Subject: Portability fixes Changed TRUNCATE table_name -> TRUNCATE TABLE table_name Docs/manual.texi: Changed TRUNCATE table_name -> TRUNCATE TABLE table_name client/mysql.cc: Don't crash when using -q with long fields include/my_net.h: Portability fix mysql-test/t/truncate.test: Changed TRUNCATE table_name -> TRUNCATE TABLE table_name readline/input.c: Portability fix scripts/make_binary_distribution.sh: Portability fix sql-bench/crash-me.sh: Portability fix sql/mini_client.cc: Portability fix sql/mysqld.cc: cleanup sql/share/dutch/errmsg.txt: Fixed typo sql/share/english/errmsg.txt: Fixed typo sql/share/greek/errmsg.txt: Fixed typo sql/share/hungarian/errmsg.txt: Fixed typo sql/share/italian/errmsg.txt: New translated messages sql/share/portuguese/errmsg.txt: Fixed typo sql/share/romanian/errmsg.txt: Fixed typo sql/share/slovak/errmsg.txt: Fixed typo sql/share/spanish/errmsg.txt: Fixed typo sql/sql_yacc.yy: Changed TRUNCATE table_name -> TRUNCATE TABLE table_name support-files/Makefile.am: Portability fix --- sql/mini_client.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sql/mini_client.cc') diff --git a/sql/mini_client.cc b/sql/mini_client.cc index 4653328d72a..26bef7194df 100644 --- a/sql/mini_client.cc +++ b/sql/mini_client.cc @@ -38,6 +38,8 @@ #include "mysqld_error.h" #include "errmsg.h" #include + +extern "C" { // Because of SCO 3.2V4.2 #include #include #ifdef HAVE_PWD_H @@ -65,6 +67,7 @@ #define INADDR_NONE -1 #endif +} static void mc_end_server(MYSQL *mysql); static int mc_sock_connect(File s, const struct sockaddr *name, uint namelen, uint to); -- cgit v1.2.1