Add timeval.h include to compat_pthreads.c for timeradd()

OpenSolaris apparently doesn't have timeradd(), so we added a
replacement, but we weren't including it here after the big
refactoring in 0.3.5.1-alpha.

Fixes bug 27963; bugfix on 0.3.5.1-alpha.
This commit is contained in:
Nick Mathewson 2018-10-10 12:18:05 -04:00
parent a23c36ebcd
commit 267b8d16b1
3 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,4 @@
o Minor bugfixes (compilation, opensolaris):
- Add a missing include to compat_pthreads.c, to fix compilation
on OpenSolaris and its descendants. Fixes bug 27963; bugfix
on 0.3.5.1-alpha.

View File

@ -4,3 +4,4 @@ lib/lock/*.h
lib/log/*.h lib/log/*.h
lib/testsupport/*.h lib/testsupport/*.h
lib/thread/*.h lib/thread/*.h
lib/wallclock/*.h

View File

@ -12,6 +12,7 @@
#include "orconfig.h" #include "orconfig.h"
#include "lib/thread/threads.h" #include "lib/thread/threads.h"
#include "lib/wallclock/timeval.h"
#include "lib/log/log.h" #include "lib/log/log.h"
#include "lib/log/util_bug.h" #include "lib/log/util_bug.h"