diff options
author | msvensson@neptunus.(none) <> | 2005-07-01 15:39:36 +0200 |
---|---|---|
committer | msvensson@neptunus.(none) <> | 2005-07-01 15:39:36 +0200 |
commit | 9613c434e0500e2815f85536a4793b7dc44d992b (patch) | |
tree | cd74bb5257ed47febb5981e96701332fffc8a7ee /client | |
parent | 99efe9009818ee09a69bf459ce684bcdb51214c6 (diff) | |
download | mariadb-git-9613c434e0500e2815f85536a4793b7dc44d992b.tar.gz |
Win port fixes
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqltest.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c index fd8f19332ec..d3e0014aa80 100644 --- a/client/mysqltest.c +++ b/client/mysqltest.c @@ -60,7 +60,12 @@ #include <sys/stat.h> #include <violite.h> #include <regex.h> /* Our own version of lib */ +#ifdef HAVE_SYS_WAIT_H #include <sys/wait.h> +#endif +#ifndef WEXITSTATUS +# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) +#endif #define MAX_QUERY 131072 #define MAX_VAR_NAME 256 #define MAX_COLUMNS 256 |