summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-05-15 08:48:53 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-05-15 08:48:53 -0700
commitd0e0f5dd126d37a27a43cc00ed351ed1289c203c (patch)
treec2bc2804f7ff436060026a2e9f5aa7c2465caee6 /service
parente94518590de48e2718539f98b87e2f617fa02f75 (diff)
downloadinfinitytier-d0e0f5dd126d37a27a43cc00ed351ed1289c203c.tar.gz
infinitytier-d0e0f5dd126d37a27a43cc00ed351ed1289c203c.zip
Basic OpenBSD compile fixes -- still need to update BSDEthernetTap, will do that later. Should be able to re-use FreeBSD port for OpenBSD, but we will see.
Diffstat (limited to 'service')
-rw-r--r--service/OneService.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/service/OneService.cpp b/service/OneService.cpp
index 56b1d979..dd919474 100644
--- a/service/OneService.cpp
+++ b/service/OneService.cpp
@@ -70,6 +70,10 @@ namespace ZeroTier { typedef LinuxEthernetTap EthernetTap; }
#include "../osdep/WindowsEthernetTap.hpp"
namespace ZeroTier { typedef WindowsEthernetTap EthernetTap; }
#endif
+#ifdef __BSD__
+#include "../osdep/BSDEthernetTap.hpp"
+namespace ZeroTier { typedef BSDEthernetTap EthernetTap; }
+#endif
// Sanity limits for HTTP
#define ZT_MAX_HTTP_MESSAGE_SIZE (1024 * 1024 * 8)