diff --git a/include/mysql_com.h b/include/mysql_com.h index 86843c8b632..d60426ae8e3 100644 --- a/include/mysql_com.h +++ b/include/mysql_com.h @@ -353,8 +353,10 @@ my_bool net_write_command(NET *net,unsigned char command, int net_real_write(NET *net,const char *packet,unsigned long len); unsigned long my_net_read(NET *net); +#ifdef _global_h void my_net_set_write_timeout(NET *net, uint timeout); void my_net_set_read_timeout(NET *net, uint timeout); +#endif /* The following function is not meant for normal usage