summaryrefslogtreecommitdiff
path: root/openbsd-compat/getrrsetbyname.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/getrrsetbyname.h')
-rw-r--r--openbsd-compat/getrrsetbyname.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/openbsd-compat/getrrsetbyname.h b/openbsd-compat/getrrsetbyname.h
index 048280192..9edaf0ae2 100644
--- a/openbsd-compat/getrrsetbyname.h
+++ b/openbsd-compat/getrrsetbyname.h
@@ -18,7 +18,7 @@
18 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 18 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 19 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
@@ -48,7 +48,7 @@
48 48
49#include "config.h" 49#include "config.h"
50 50
51#ifndef HAVE_GETRRSETBYNAME 51#if defined(DNS) && !defined(HAVE_GETRRSETBYNAME)
52 52
53#include <sys/types.h> 53#include <sys/types.h>
54#include <netinet/in.h> 54#include <netinet/in.h>
@@ -95,5 +95,6 @@ struct rrsetinfo {
95int getrrsetbyname(const char *, unsigned int, unsigned int, unsigned int, struct rrsetinfo **); 95int getrrsetbyname(const char *, unsigned int, unsigned int, unsigned int, struct rrsetinfo **);
96void freerrset(struct rrsetinfo *); 96void freerrset(struct rrsetinfo *);
97 97
98#endif /* HAVE_GETRRSETBYNAME */ 98#endif /* defined(DNS) && !defined(HAVE_GETRRSETBYNAME) */
99
99#endif /* _GETRRSETBYNAME_H */ 100#endif /* _GETRRSETBYNAME_H */