bind-dyndb-ldap/backport-bind-dyndb-ldap-bind-9.18.24.patch
xinghe afd680e451 fix build failed
(cherry picked from commit 3aea08e97a4598f473677713b088572921788bdb)
2024-03-20 14:38:37 +08:00

32 lines
818 B
Diff

From 628db201764a0dc76f8e48c1524850de64e2f2fe Mon Sep 17 00:00:00 2001
From: Alexander Bokovoy <abokovoy@redhat.com>
Date: Wed, 14 Feb 2024 15:45:57 +0200
Subject: [PATCH] Include dydnb-config.h prior to any BIND headers
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
---
src/syncrepl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/syncrepl.c b/src/syncrepl.c
index f94379c..4725bb8 100644
--- a/src/syncrepl.c
+++ b/src/syncrepl.c
@@ -4,6 +4,7 @@
#include <unistd.h>
+#include "dyndb-config.h"
#include <isc/condition.h>
#include <isc/event.h>
#include <isc/mutex.h>
@@ -11,7 +12,6 @@
#include <isc/time.h>
#include <isc/util.h>
-#include "dyndb-config.h"
#include "ldap_helper.h"
#include "util.h"
#include "semaphore.h"
--
2.43.0