termux-packages/packages/nzbget/nzbget.h.patch

15 lines
373 B
Diff

diff --git a/daemon/main/nzbget.h b/daemon/main/nzbget.h
index bfaf03b9..eeb4445c 100644
--- a/daemon/main/nzbget.h
+++ b/daemon/main/nzbget.h
@@ -254,7 +254,9 @@ typedef int pid_t;
#include <openssl/sha.h>
#include <openssl/pem.h>
#include <openssl/x509v3.h>
+#ifndef OPENSSL_NO_COMP
#include <openssl/comp.h>
+#endif
#endif /* HAVE_OPENSSL */
#ifdef HAVE_REGEX_H