]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
portability with new ldns core (time includes).
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Sat, 2 Nov 2013 04:38:57 +0000 (04:38 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Sat, 2 Nov 2013 04:38:57 +0000 (04:38 +0000)
git-svn-id: file:///svn/unbound/trunk@3009 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/daemon.c

index 658e65dec3767f2f3bc46c3b7b83a32f51bbcfd2..753ee76f8e1ea44cc83dbb061d3a70c1c67d8b90 100644 (file)
 #include <openssl/engine.h>
 #endif
 
+#ifdef HAVE_TIME_H
+#include <time.h>
+#endif
+#include <sys/time.h>
+
 #ifdef HAVE_NSS
 /* nss3 */
 #include "nss.h"