summaryrefslogtreecommitdiff
path: root/vio/test-sslserver.c
diff options
context:
space:
mode:
authorlenz@mysql.com <>2004-06-22 17:35:34 +0200
committerlenz@mysql.com <>2004-06-22 17:35:34 +0200
commit4740e8b2b7ad157389adfcddf2d17338160c9ae2 (patch)
tree3b890e31116fc3ed7d1a9ff2447cedf671a48d85 /vio/test-sslserver.c
parent6adefe41a4c25cb1a536dd01d845d12f649f3c8f (diff)
downloadmariadb-git-4740e8b2b7ad157389adfcddf2d17338160c9ae2.tar.gz
- Applied some portability fixes for SGI IRIX/MipsPro compiler
(e.g. a fix for BUG#3507 and some modifications recommended by Andrea Suatoni and Joerg Behrens - thank you!)
Diffstat (limited to 'vio/test-sslserver.c')
-rw-r--r--vio/test-sslserver.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/vio/test-sslserver.c b/vio/test-sslserver.c
index 71b194838c7..d05e50af16b 100644
--- a/vio/test-sslserver.c
+++ b/vio/test-sslserver.c
@@ -91,7 +91,12 @@ main(int argc __attribute__((unused)), char** argv)
struct sockaddr_in sa_cli;
int listen_sd;
int err;
+
+#if defined(__sgi) && _NO_XOPEN4 && _NO_XOPEN5
+ socklen_t client_len;
+#else
size_t client_len;
+#endif
int reuseaddr = 1; /* better testing, uh? */
MY_INIT(argv[0]);