Browse Source

Minor fixes for FreeBSD

pull/1128/head
Hamish Coleman 1 year ago
parent
commit
a2c78e140a
  1. 1
      include/n2n_typedefs.h
  2. 1
      src/tuntap_freebsd.c

1
include/n2n_typedefs.h

@ -23,6 +23,7 @@
#include <stdint.h> // for uint8_t and friends #include <stdint.h> // for uint8_t and friends
#ifndef WIN32 #ifndef WIN32
#include <arpa/inet.h> // for in_addr_t #include <arpa/inet.h> // for in_addr_t
#include <sys/socket.h> // for sockaddr
#endif #endif
#include <uthash.h> #include <uthash.h>
#include <n2n_define.h> #include <n2n_define.h>

1
src/tuntap_freebsd.c

@ -17,6 +17,7 @@
*/ */
#include <fcntl.h> // for open. O_RDWR
#include "n2n.h" #include "n2n.h"

Loading…
Cancel
Save