RT4310: Fix varous no-XXX builds
[openssl.git] / crypto / bio / b_addr.c
index e92876ab99260124cb074149e1f9d78daf5c0142..a46cf93786505b3eb336f2c874265dce6f843576 100644 (file)
@@ -56,6 +56,7 @@
 
 #include "bio_lcl.h"
 
+#ifndef OPENSSL_NO_SOCK
 #include <openssl/err.h>
 #include <openssl/buffer.h>
 #include <ctype.h>
@@ -848,3 +849,4 @@ int BIO_lookup(const char *host, const char *service,
 
     return ret;
 }
+#endif /* OPENSSL_NO_SOCK */