summaryrefslogtreecommitdiff
path: root/dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'dns.c')
-rw-r--r--dns.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/dns.c b/dns.c
index 504b5d72e..16954a6a1 100644
--- a/dns.c
+++ b/dns.c
@@ -30,7 +30,9 @@
30#include <sys/types.h> 30#include <sys/types.h>
31#include <sys/socket.h> 31#include <sys/socket.h>
32 32
33#include <netdb.h> 33#if defined(HAVE_NETDB_H)
34# include <netdb.h>
35#endif
34 36
35#include "xmalloc.h" 37#include "xmalloc.h"
36#include "key.h" 38#include "key.h"