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:
parent
aec02dc92b
commit
f25248fe67
@ -20,6 +20,12 @@
|
|||||||
|
|
||||||
/* DNS query section in replies */
|
/* 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 {
|
struct dns_query {
|
||||||
const char *hostname;
|
const char *hostname;
|
||||||
uint16_t type;
|
uint16_t type;
|
||||||
@ -54,3 +60,5 @@ struct dns_rr_ns {
|
|||||||
const char *hostname;
|
const char *hostname;
|
||||||
struct sockaddr_storage ss;
|
struct sockaddr_storage ss;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user