summaryrefslogtreecommitdiff
path: root/vio/test-sslserver.c
diff options
context:
space:
mode:
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]);