diff --git a/include/n2n_typedefs.h b/include/n2n_typedefs.h index 500bfcd..4951aa4 100644 --- a/include/n2n_typedefs.h +++ b/include/n2n_typedefs.h @@ -23,6 +23,7 @@ #include // for uint8_t and friends #ifndef WIN32 #include // for in_addr_t +#include // for sockaddr #endif #include #include diff --git a/src/tuntap_freebsd.c b/src/tuntap_freebsd.c index 6501659..9ccdf0e 100644 --- a/src/tuntap_freebsd.c +++ b/src/tuntap_freebsd.c @@ -17,6 +17,7 @@ */ +#include // for open. O_RDWR #include "n2n.h"