Fixup nothread compile on Linux.

git-svn-id: file:///svn/unbound/trunk@3524 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2015-10-28 10:37:53 +00:00
parent 57ce6f11de
commit 2f8f3cca82
2 changed files with 6 additions and 0 deletions

View file

@ -68,6 +68,9 @@
#ifdef HAVE_SYS_WAIT_H #ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h> #include <sys/wait.h>
#endif #endif
#ifdef HAVE_TIME_H
#include <time.h>
#endif
#if defined(UB_ON_WINDOWS) && defined (HAVE_WINDOWS_H) #if defined(UB_ON_WINDOWS) && defined (HAVE_WINDOWS_H)
#include <windows.h> #include <windows.h>

View file

@ -44,6 +44,9 @@
*/ */
#include "config.h" #include "config.h"
#ifdef HAVE_TIME_H
#include <time.h>
#endif
#include "util/log.h" #include "util/log.h"
#include "util/rbtree.h" #include "util/rbtree.h"
#include "util/locks.h" #include "util/locks.h"