]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Includes for BSD4.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 15 Apr 2010 14:53:55 +0000 (14:53 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 15 Apr 2010 14:53:55 +0000 (14:53 +0000)
git-svn-id: file:///svn/unbound/trunk@2080 be551aaa-1e26-0410-a405-d3ace91eadb9

services/listen_dnsport.c
services/outbound_list.c
services/outside_network.c

index adc1c63595baae95abbf714a1b3bdc1309f7452a..da033b9a3c1fab8ed8c7ebb9fa7e00b33ca89c76 100644 (file)
  * This file has functions to get queries from clients.
  */
 #include "config.h"
+#ifdef HAVE_SYS_TYPES_H
+#  include <sys/types.h>
+#endif
+#include <sys/time.h>
 #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 <sys/types.h>
-#endif
 #ifdef HAVE_NETDB_H
 #include <netdb.h>
 #endif
index 80928dec4e0ddd7b28622be7c51e5f4b099689b5..be491490411d2fd7f593d8592ee86554618a45d0 100644 (file)
@@ -40,6 +40,7 @@
  * queries it has outstanding to authoritative servers.
  */
 #include "config.h"
+#include <sys/time.h>
 #include "services/outbound_list.h"
 #include "services/outside_network.h"
 
index 3725c636ba577e116a5a8819a19cabff1dd04092..aeb44971aeb44ba5c407dc05678a50b41495e2f3 100644 (file)
  */
 #include "config.h"
 #include <ctype.h>
+#ifdef HAVE_SYS_TYPES_H
+#  include <sys/types.h>
+#endif
+#include <sys/time.h>
 #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 <sys/types.h>
-#endif
 #ifdef HAVE_NETDB_H
 #include <netdb.h>
 #endif