termux-packages/packages/nzbget/nzbget.h.patch
Marcel Dopita 3bb128bfec nzbget: Update from 19.1 to 20.0
Also fixes overwriting of config file during package upgrade. Use config in etc
as default instead (leaves config in users home to allow overriding).
2018-06-20 01:37:25 +02:00

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