From 8452c8cd5dc6f47db981e236b3f22925663e1c39 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Thu, 15 Apr 2010 14:53:55 +0000 Subject: [PATCH] Includes for BSD4. git-svn-id: file:///svn/unbound/trunk@2080 be551aaa-1e26-0410-a405-d3ace91eadb9 --- services/listen_dnsport.c | 7 ++++--- services/outbound_list.c | 1 + services/outside_network.c | 7 ++++--- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/services/listen_dnsport.c b/services/listen_dnsport.c index adc1c6359..da033b9a3 100644 --- a/services/listen_dnsport.c +++ b/services/listen_dnsport.c @@ -39,6 +39,10 @@ * This file has functions to get queries from clients. */ #include "config.h" +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#include #include "services/listen_dnsport.h" #include "services/outside_network.h" #include "util/netevent.h" @@ -46,9 +50,6 @@ #include "util/config_file.h" #include "util/net_help.h" -#ifdef HAVE_SYS_TYPES_H -# include -#endif #ifdef HAVE_NETDB_H #include #endif diff --git a/services/outbound_list.c b/services/outbound_list.c index 80928dec4..be4914904 100644 --- a/services/outbound_list.c +++ b/services/outbound_list.c @@ -40,6 +40,7 @@ * queries it has outstanding to authoritative servers. */ #include "config.h" +#include #include "services/outbound_list.h" #include "services/outside_network.h" diff --git a/services/outside_network.c b/services/outside_network.c index 3725c636b..aeb44971a 100644 --- a/services/outside_network.c +++ b/services/outside_network.c @@ -41,6 +41,10 @@ */ #include "config.h" #include +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#include #include "ldns/wire2host.h" #include "services/outside_network.h" #include "services/listen_dnsport.h" @@ -55,9 +59,6 @@ #include "util/random.h" #include "util/fptr_wlist.h" -#ifdef HAVE_SYS_TYPES_H -# include -#endif #ifdef HAVE_NETDB_H #include #endif -- 2.47.2