]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
more time includes.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 31 Oct 2013 16:26:45 +0000 (16:26 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 31 Oct 2013 16:26:45 +0000 (16:26 +0000)
git-svn-id: file:///svn/unbound/trunk@3007 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/stats.c
util/timehist.c

index 707273fe479a0d9779f22427d028e30175759c37..c80115e58e05119849aa4ab281c4cede7ebaad7c 100644 (file)
  * numbers. These 'statistics' may be of interest to the operator.
  */
 #include "config.h"
+#ifdef HAVE_TIME_H
+#include <time.h>
+#endif
+#include <sys/time.h>
+#include <sys/types.h>
 #include "daemon/stats.h"
 #include "daemon/worker.h"
 #include "daemon/daemon.h"
index 98d8db1c8f0d4eca8134473fe50fbe046bfc1269..a5e93b6b7b8ae6c2aea45913807c4f65caf19e54 100644 (file)
@@ -43,6 +43,7 @@
 #include <time.h>
 #endif
 #include <sys/time.h>
+#include <sys/types.h>
 #include "util/timehist.h"
 #include "util/log.h"