<nettle/version.h> -> <nettle/bignum.h> for backward compatibility.

This commit is contained in:
Simon Kelley
2021-04-14 21:15:34 +01:00
parent 10d8b5f001
commit d100eb05a3

View File

@@ -19,7 +19,10 @@
#if defined(HAVE_DNSSEC) || defined(HAVE_CRYPTOHASH)
/* Minimal version of nettle */
#include <nettle/version.h>
/* bignum.h includes version.h and works on
earlier releases of nettle which don't have version.h */
#include <nettle/bignum.h>
#if !defined(NETTLE_VERSION_MAJOR)
# define NETTLE_VERSION_MAJOR 2
# define NETTLE_VERSION_MINOR 0