summaryrefslogtreecommitdiff
path: root/net/ntp/files/patch-include_libssl__compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/ntp/files/patch-include_libssl__compat.h')
-rw-r--r--net/ntp/files/patch-include_libssl__compat.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/ntp/files/patch-include_libssl__compat.h b/net/ntp/files/patch-include_libssl__compat.h
new file mode 100644
index 000000000000..7e03c01c4a67
--- /dev/null
+++ b/net/ntp/files/patch-include_libssl__compat.h
@@ -0,0 +1,11 @@
+--- include/libssl_compat.h.orig 2016-11-21 12:28:40 UTC
++++ include/libssl_compat.h
+@@ -25,7 +25,7 @@
+ #include "openssl/rsa.h"
+
+ /* ----------------------------------------------------------------- */
+-#if OPENSSL_VERSION_NUMBER < 0x10100000L
++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
+ /* ----------------------------------------------------------------- */
+
+ # include <openssl/objects.h>