summaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/ZeroTierOne.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ZeroTierOne.h b/include/ZeroTierOne.h
index ecc2edef..dd7ccfa1 100644
--- a/include/ZeroTierOne.h
+++ b/include/ZeroTierOne.h
@@ -43,6 +43,8 @@
#else /* not Windows */
#include <arpa/inet.h>
#include <netinet/in.h>
+#include <sys/types.h>
+#include <sys/socket.h>
#endif /* Windows or not */
#ifdef __cplusplus