|
|
45c707 |
From 925159b0e3757e650d9dbdb7888f6d66dde6d62f Mon Sep 17 00:00:00 2001
|
|
|
45c707 |
From: rpm-build <rpm-build>
|
|
|
45c707 |
Date: Mon, 5 Nov 2018 19:49:03 +0100
|
|
|
45c707 |
Subject: [PATCH] Adjust to changes in bind 9.11.5
|
|
|
45c707 |
|
|
|
45c707 |
Custom types like isc_boolean_t and isc_uint32_t were removed from bind
|
|
|
45c707 |
headers. Compatibility headers are included, but have to be manually
|
|
|
45c707 |
used. Better change would be to start using uint32_t and bool types,
|
|
|
45c707 |
but that changes too much of code for now.
|
|
|
45c707 |
---
|
|
|
45c707 |
src/fwd.c | 2 ++
|
|
|
45c707 |
src/ldap_entry.c | 1 +
|
|
|
45c707 |
src/ldap_helper.c | 1 +
|
|
|
45c707 |
src/ldap_helper.h | 1 +
|
|
|
45c707 |
src/mldap.c | 1 +
|
|
|
45c707 |
src/settings.h | 2 ++
|
|
|
45c707 |
src/types.h | 2 ++
|
|
|
45c707 |
src/zone.c | 1 +
|
|
|
45c707 |
8 files changed, 11 insertions(+)
|
|
|
45c707 |
|
|
|
45c707 |
diff --git a/src/fwd.c b/src/fwd.c
|
|
|
45c707 |
index 840f0e8..f1ab60c 100644
|
|
|
45c707 |
--- a/src/fwd.c
|
|
|
45c707 |
+++ b/src/fwd.c
|
|
|
45c707 |
@@ -6,6 +6,8 @@
|
|
|
45c707 |
|
|
|
45c707 |
#include "config.h"
|
|
|
45c707 |
|
|
|
45c707 |
+#include <isc/boolean.h>
|
|
|
45c707 |
+
|
|
|
45c707 |
#include <isccfg/grammar.h>
|
|
|
45c707 |
|
|
|
45c707 |
#include <dns/forward.h>
|
|
|
45c707 |
diff --git a/src/ldap_entry.c b/src/ldap_entry.c
|
|
|
45c707 |
index 96a6ef8..00a7e89 100644
|
|
|
45c707 |
--- a/src/ldap_entry.c
|
|
|
45c707 |
+++ b/src/ldap_entry.c
|
|
|
45c707 |
@@ -7,6 +7,7 @@
|
|
|
45c707 |
#include <dns/ttl.h>
|
|
|
45c707 |
#include <dns/types.h>
|
|
|
45c707 |
|
|
|
45c707 |
+#include <isc/int.h>
|
|
|
45c707 |
#include <isc/region.h>
|
|
|
45c707 |
#include <isc/types.h>
|
|
|
45c707 |
#include <isc/util.h>
|
|
|
45c707 |
diff --git a/src/ldap_helper.c b/src/ldap_helper.c
|
|
|
45c707 |
index e0c4b76..74c0afe 100644
|
|
|
45c707 |
--- a/src/ldap_helper.c
|
|
|
45c707 |
+++ b/src/ldap_helper.c
|
|
|
45c707 |
@@ -26,6 +26,7 @@
|
|
|
45c707 |
|
|
|
45c707 |
#include <isc/buffer.h>
|
|
|
45c707 |
#include <isc/dir.h>
|
|
|
45c707 |
+#include <isc/int.h>
|
|
|
45c707 |
#include <isc/mem.h>
|
|
|
45c707 |
#include <isc/mutex.h>
|
|
|
45c707 |
#include <isc/region.h>
|
|
|
45c707 |
diff --git a/src/ldap_helper.h b/src/ldap_helper.h
|
|
|
45c707 |
index 6cfece5..fc21bb3 100644
|
|
|
45c707 |
--- a/src/ldap_helper.h
|
|
|
45c707 |
+++ b/src/ldap_helper.h
|
|
|
45c707 |
@@ -7,6 +7,7 @@
|
|
|
45c707 |
|
|
|
45c707 |
#include "types.h"
|
|
|
45c707 |
|
|
|
45c707 |
+#include <isc/boolean.h>
|
|
|
45c707 |
#include <isc/eventclass.h>
|
|
|
45c707 |
#include <isc/util.h>
|
|
|
45c707 |
#include <isccfg/cfg.h>
|
|
|
45c707 |
diff --git a/src/mldap.c b/src/mldap.c
|
|
|
45c707 |
index 304ba36..8b90921 100644
|
|
|
45c707 |
--- a/src/mldap.c
|
|
|
45c707 |
+++ b/src/mldap.c
|
|
|
45c707 |
@@ -10,6 +10,7 @@
|
|
|
45c707 |
#include <uuid/uuid.h>
|
|
|
45c707 |
|
|
|
45c707 |
#include <isc/boolean.h>
|
|
|
45c707 |
+#include <isc/int.h>
|
|
|
45c707 |
#include <isc/net.h>
|
|
|
45c707 |
#include <isc/refcount.h>
|
|
|
45c707 |
#include <isc/result.h>
|
|
|
45c707 |
diff --git a/src/settings.h b/src/settings.h
|
|
|
45c707 |
index 16a1e63..6585d8b 100644
|
|
|
45c707 |
--- a/src/settings.h
|
|
|
45c707 |
+++ b/src/settings.h
|
|
|
45c707 |
@@ -6,6 +6,8 @@
|
|
|
45c707 |
#define _LD_SETTINGS_H_
|
|
|
45c707 |
|
|
|
45c707 |
#include <isc/types.h>
|
|
|
45c707 |
+#include <isc/boolean.h>
|
|
|
45c707 |
+#include <isc/int.h>
|
|
|
45c707 |
|
|
|
45c707 |
#include <isccfg/grammar.h>
|
|
|
45c707 |
|
|
|
45c707 |
diff --git a/src/types.h b/src/types.h
|
|
|
45c707 |
index 01d627c..41ef476 100644
|
|
|
45c707 |
--- a/src/types.h
|
|
|
45c707 |
+++ b/src/types.h
|
|
|
45c707 |
@@ -5,7 +5,9 @@
|
|
|
45c707 |
#ifndef _LD_TYPES_H_
|
|
|
45c707 |
#define _LD_TYPES_H_
|
|
|
45c707 |
|
|
|
45c707 |
+#include <isc/boolean.h>
|
|
|
45c707 |
#include <isc/event.h>
|
|
|
45c707 |
+#include <isc/int.h>
|
|
|
45c707 |
#include <isc/refcount.h>
|
|
|
45c707 |
#include <dns/name.h>
|
|
|
45c707 |
|
|
|
45c707 |
diff --git a/src/zone.c b/src/zone.c
|
|
|
45c707 |
index 284136e..b9c9936 100644
|
|
|
45c707 |
--- a/src/zone.c
|
|
|
45c707 |
+++ b/src/zone.c
|
|
|
45c707 |
@@ -2,6 +2,7 @@
|
|
|
45c707 |
* Copyright (C) 2014-2015 bind-dyndb-ldap authors; see COPYING for license
|
|
|
45c707 |
*/
|
|
|
45c707 |
|
|
|
45c707 |
+#include <isc/int.h>
|
|
|
45c707 |
#include <isc/types.h>
|
|
|
45c707 |
#include <isc/util.h>
|
|
|
45c707 |
|
|
|
45c707 |
--
|
|
|
45c707 |
2.14.5
|
|
|
45c707 |
|