Kolja Strohm
6 years ago
|
@@ -1,3 +1,5 @@
|
|
|
+#include <openssl/bio.h>
|
|
|
+#include <openssl/ssl.h>
|
|
|
#include "Klient.h"
|
|
|
#ifndef WIN32
|
|
|
#include <string.h>
|
|
@@ -2,8 +2,12 @@
|
|
|
#define Klient_H
|
|
|
|
|
|
#include "Network.h"
|
|
|
-#include <openssl/bio.h>
|
|
|
-#include <openssl/ssl.h>
|
|
|
+
|
|
|
+#ifndef HEADER_OPENSSL_TYPES_H
|
|
|
+struct SSL_CTX;
|
|
|
+struct SSL;
|
|
|
+struct BIO;
|
|
|
+#endif
|
|
|
|
|
|
namespace Framework
|
|
|
{
|
|
@@ -1,3 +1,4 @@
|
|
|
+#include <openssl/ssl.h>
|
|
|
#include "Server.h"
|
|
|
#ifndef WIN32
|
|
|
#include <string.h>
|
|
@@ -2,7 +2,11 @@
|
|
|
#define Server_H
|
|
|
|
|
|
#include "Network.h"
|
|
|
-#include <openssl/ssl.h>
|
|
|
+
|
|
|
+#ifndef HEADER_OPENSSL_TYPES_H
|
|
|
+struct SSL_CTX;
|
|
|
+struct SSL;
|
|
|
+#endif
|
|
|
|
|
|
namespace Framework
|
|
|
{
|