]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib/addns: Include librpc/gen_ndr/dns.h
authorVolker Lendecke <vl@samba.org>
Tue, 31 Mar 2026 17:54:02 +0000 (19:54 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 3 Jul 2026 08:08:36 +0000 (08:08 +0000)
Make gen_ndr/dns.h available, so that we can replace definitions in
lib/addns/dns.h with the IDL-defined ones.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/addns/dns.h
lib/addns/dnsgss.c
lib/addns/dnsquery.c
lib/addns/dnsquery.h

index 757f7c2f4970f7f3310ce5ef4a1ff428d3c2bddc..875d8d34dfa5068185e8c997de36023c284a9966 100644 (file)
@@ -27,6 +27,7 @@
 
 #include "../replace/replace.h"
 #include "system/network.h"
+#include "librpc/gen_ndr/dns.h"
 
 /* make sure we have included the correct config.h */
 #ifndef NO_CONFIG_H /* for some tests */
index c121e30e236379a898c439d1a282bc1bc423c367..9a6ed3e079ac49fe155e1584092fc4e15082f16e 100644 (file)
@@ -31,8 +31,7 @@
 #include "libcli/util/ntstatus.h"
 #include "auth/gensec/gensec.h"
 #include "dnserr.h"
-#include "librpc/gen_ndr/dns.h"
-#include "dns.h"
+#include "lib/addns/dns.h"
 #include "libcli/dns/libdns.h"
 
 DNS_ERROR dns_negotiate_sec_ctx(const char *serveraddress,
index d450e2654243644f6bbc9faf75d80d2aaefb825e..1e8e303db3a98769ab7de802646ce6b6fec28c34 100644 (file)
@@ -21,7 +21,6 @@
 #include "includes.h"
 #include "lib/util/util_net.h"
 #include "lib/util/tsort.h"
-#include "librpc/gen_ndr/dns.h"
 #include "libcli/dns/dns_lookup.h"
 #include "lib/util/tevent_ntstatus.h"
 #include "dnsquery.h"
index 97ad250f765182d06693eb3ccdcc9791882a3c92..8401c26466205a951ea0b5d827367c7685626a64 100644 (file)
@@ -25,7 +25,6 @@
 #include "libcli/dns/dns.h"
 #include "lib/util/util_net.h"
 #include "libcli/util/ntstatus.h"
-#include "librpc/gen_ndr/dns.h"
 
 /* The following definitions come from libads/dns.c  */