Minor build fixes

pull/102/head
Michael 6 years ago
parent 1df153848f
commit 7c1b224f67
No known key found for this signature in database
GPG Key ID: 2D51757B47E2434C

@ -24,10 +24,10 @@ namespace llarp
~TunEndpoint();
virtual bool
SetOption(const std::string& k, const std::string& v);
SetOption(const std::string& k, const std::string& v) override;
virtual void
Tick(llarp_time_t now);
Tick(llarp_time_t now) override;
void
TickTun(llarp_time_t now);
@ -36,7 +36,7 @@ namespace llarp
MapAddress(const service::Address& remote, huint32_t ip, bool SNode);
bool
Start();
Start() override;
bool
IsSNode() const;
@ -47,7 +47,7 @@ namespace llarp
/// overrides Endpoint
bool
SetupNetworking();
SetupNetworking() override;
/// overrides Endpoint
/// handle inbound traffic
@ -69,7 +69,7 @@ namespace llarp
#ifndef WIN32
/// overrides Endpoint
bool
IsolationFailed()
IsolationFailed() override
{
m_TunSetupResult.set_value(false);
return false;

@ -25,6 +25,12 @@ struct asio_evt_pkt
size_t sz; // if this doesn't match what is in the packet, note the error
};
#else
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) \
|| (__APPLE__ && __MACH__)
#include <sys/event.h>
#endif
#include <sys/un.h>
#endif

Loading…
Cancel
Save