summaryrefslogtreecommitdiff
path: root/osdep/WindowsEthernetTap.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2018-01-30 16:07:41 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2018-01-30 16:07:41 -0800
commitd6e8a5f3ca2ecc78c5c8542356099912cbffb552 (patch)
tree64018bd44baecd62c98679d85ac1506f166d95d3 /osdep/WindowsEthernetTap.hpp
parent4878d8ec15892f2a14b4737d57864e2c34197507 (diff)
downloadinfinitytier-d6e8a5f3ca2ecc78c5c8542356099912cbffb552.tar.gz
infinitytier-d6e8a5f3ca2ecc78c5c8542356099912cbffb552.zip
Fix Windows compile error.
Diffstat (limited to 'osdep/WindowsEthernetTap.hpp')
-rw-r--r--osdep/WindowsEthernetTap.hpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/osdep/WindowsEthernetTap.hpp b/osdep/WindowsEthernetTap.hpp
index 856c3be7..1e36bdd8 100644
--- a/osdep/WindowsEthernetTap.hpp
+++ b/osdep/WindowsEthernetTap.hpp
@@ -38,7 +38,6 @@
#include "../node/Constants.hpp"
#include "../node/Mutex.hpp"
-#include "../node/Array.hpp"
#include "../node/MulticastGroup.hpp"
#include "../node/InetAddress.hpp"
#include "../osdep/Thread.hpp"
@@ -150,7 +149,12 @@ private:
std::vector<MulticastGroup> _multicastGroups;
- std::queue< std::pair< Array<char,ZT_MAX_MTU + 32>,unsigned int > > _injectPending;
+ struct _InjectPending
+ {
+ unsigned int len;
+ char data[ZT_MAX_MTU + 32];
+ };
+ std::queue<_InjectPending> _injectPending;
Mutex _injectPending_m;
std::string _pathToHelpers;