Fix no-sock
[openssl.git] / apps / s_client.c
index 6f22e6e336ee540cb07ab3ee18835e267fc9ce31..5b4cd4839fe29f53c6f279909f15bc77fe308dc7 100644 (file)
 #include <errno.h>
 #include <openssl/e_os2.h>
 
+#ifndef OPENSSL_NO_SOCK
+
 /*
  * With IPv6, it looks like Digital has mixed up the proper order of
  * recursive header file inclusion, resulting in the compiler complaining
@@ -2757,3 +2759,5 @@ static int ocsp_resp_cb(SSL *s, void *arg)
     OCSP_RESPONSE_free(rsp);
     return 1;
 }
+
+#endif