Include 2 missing headers:

<cerrno> for ETIMEDOUT
<sys/time.h> for gettimeofday()
This commit is contained in:
Markus Teufelberger
2018-02-21 17:18:13 +01:00
committed by Mike Ellery
parent 4a3a40174e
commit 8b909d5c17

View File

@@ -22,6 +22,7 @@
//==============================================================================
#include <ripple/beast/core/WaitableEvent.h>
#include <cerrno>
#if BEAST_WINDOWS
@@ -71,6 +72,8 @@ bool WaitableEvent::wait (const int timeOutMs) const
#else
#include <sys/time.h>
namespace beast {
WaitableEvent::WaitableEvent (const bool useManualReset, bool initiallySignaled)