mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Include 2 missing headers:
<cerrno> for ETIMEDOUT <sys/time.h> for gettimeofday()
This commit is contained in:
committed by
Mike Ellery
parent
4a3a40174e
commit
8b909d5c17
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user