summaryrefslogtreecommitdiffstats
path: root/net/stunnel/patches/012-cron-without-pthread-fix.patch
blob: 0f644b3c1261213410b559b80f254d948185ebe5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: stunnel-5.20/src/cron.c
===================================================================
--- stunnel-5.20.orig/src/cron.c
+++ stunnel-5.20/src/cron.c
@@ -46,6 +46,9 @@ NOEXPORT void cron_thread(void *arg);
 #endif
 #if defined(USE_PTHREAD) || defined(USE_WIN32)
 NOEXPORT void cron_worker(void);
+#endif
+
+#ifndef OPENSSL_NO_DH
 NOEXPORT void cron_dh_param(void);
 #endif