]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
include for gettimeofday
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 27 Mar 2017 06:50:29 +0000 (06:50 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 27 Mar 2017 06:50:29 +0000 (06:50 +0000)
git-svn-id: file:///svn/unbound/trunk@4083 be551aaa-1e26-0410-a405-d3ace91eadb9

dnscrypt/dnscrypt.c

index ce723127402d10f033ca3b50e00c1372bd5f4760..f672096ab7f314eba52d353831731eb678c5ea33 100644 (file)
@@ -2,6 +2,11 @@
 #include "config.h"
 #include <stdlib.h>
 #include <fcntl.h>
+#ifdef HAVE_TIME_H
+#include <time.h>
+#endif
+#include <sys/time.h>
+#include <sys/types.h>
 #include "sldns/sbuffer.h"
 #include "util/config_file.h"
 #include "util/net_help.h"