summaryrefslogtreecommitdiff
path: root/vdr-vdrmanager/sock.h
diff options
context:
space:
mode:
Diffstat (limited to 'vdr-vdrmanager/sock.h')
-rw-r--r--vdr-vdrmanager/sock.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/vdr-vdrmanager/sock.h b/vdr-vdrmanager/sock.h
index f9e3ebf..bc19d6d 100644
--- a/vdr-vdrmanager/sock.h
+++ b/vdr-vdrmanager/sock.h
@@ -8,12 +8,13 @@
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
-#include <openssl/ssl.h>
#include <string>
+#if VDRMANAGER_USE_SSL
#define SSL_NO_RETRY 0
#define SSL_RETRY_READ 1
#define SSL_RETRY_WRITE 2
+#endif
using namespace std;