Refactoring BIO: Small adjustments
[openssl.git] / crypto / bio / bss_fd.c
index 12306c2dc041c139d369d0a0343d9d2adc4fdf11..d00c5ce3b457fbbf856b27a33f9d60a62f2857e2 100644 (file)
@@ -57,8 +57,8 @@
 
 #include <stdio.h>
 #include <errno.h>
-#define USE_SOCKETS
-#include "internal/cryptlib.h"
+
+#include "bio_lcl.h"
 
 #if defined(OPENSSL_NO_POSIX_IO)
 /*
@@ -96,8 +96,6 @@ BIO_METHOD *BIO_s_fd(void)
  * file descriptors can only be provided by application. Therefore
  * "UPLINK" calls are due...
  */
-# include "bio_lcl.h"
-
 static int fd_write(BIO *h, const char *buf, int num);
 static int fd_read(BIO *h, char *buf, int size);
 static int fd_puts(BIO *h, const char *str);