1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

libcli: Add required #includes to libcli/dns/dns.h

Also, make it safe against being included twice

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2020-11-29 18:16:30 +01:00 committed by Jeremy Allison
parent aec02dc92b
commit f25248fe67

View File

@ -20,6 +20,12 @@
/* DNS query section in replies */
#ifndef __LIBCLI_DNS_DNS_H__
#define __LIBCLI_DNS_DNS_H__
#include "replace.h"
#include "system/network.h"
struct dns_query {
const char *hostname;
uint16_t type;
@ -54,3 +60,5 @@ struct dns_rr_ns {
const char *hostname;
struct sockaddr_storage ss;
};
#endif