#include <tcl.h>
#include <mysql.h>
#if defined(LIBMYSQL_VERSION_ID) && (LIBMYSQL_VERSION_ID >= 80000)
typedef bool my_bool;
#endif
#include <errno.h>
#include <string.h>
#include <ctype.h>