mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
<nettle/version.h> -> <nettle/bignum.h> for backward compatibility.
This commit is contained in:
@@ -19,7 +19,10 @@
|
|||||||
#if defined(HAVE_DNSSEC) || defined(HAVE_CRYPTOHASH)
|
#if defined(HAVE_DNSSEC) || defined(HAVE_CRYPTOHASH)
|
||||||
|
|
||||||
/* Minimal version of nettle */
|
/* 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)
|
#if !defined(NETTLE_VERSION_MAJOR)
|
||||||
# define NETTLE_VERSION_MAJOR 2
|
# define NETTLE_VERSION_MAJOR 2
|
||||||
# define NETTLE_VERSION_MINOR 0
|
# define NETTLE_VERSION_MINOR 0
|
||||||
|
|||||||
Reference in New Issue
Block a user