diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-09-02 15:17:38 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-09-02 15:17:38 -0700 |
commit | 4626175d113da7201a6f1f0b79e23f3f92099ca5 (patch) | |
tree | ae2582b6d481a914acbb9aca1fcdf7dbef98aa8d /osdep | |
parent | 4838cbc350a7608ebe345a821ef32bb01a8aeca7 (diff) | |
download | infinitytier-4626175d113da7201a6f1f0b79e23f3f92099ca5.tar.gz infinitytier-4626175d113da7201a6f1f0b79e23f3f92099ca5.zip |
Stub of NetconEthernetTap
Diffstat (limited to 'osdep')
-rw-r--r-- | osdep/Phy.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/osdep/Phy.hpp b/osdep/Phy.hpp index eca4109f..aad40cd1 100644 --- a/osdep/Phy.hpp +++ b/osdep/Phy.hpp @@ -69,6 +69,11 @@ #define ZT_PHY_MAX_SOCKETS (FD_SETSIZE) #define ZT_PHY_SOCKADDR_STORAGE_TYPE struct sockaddr_storage +#if defined(__linux__) || defined(linux) || defined(__LINUX__) || defined(__linux) +#define ZT_PHY_HAVE_EVENTFD 1 +#include <sys/eventfd.h> +#endif + #endif // Windows or not namespace ZeroTier { |