Minor fixes for FreeBSD

This commit is contained in:
Hamish Coleman 2023-06-25 12:00:24 +01:00
parent 2413ce498f
commit a2c78e140a
2 changed files with 2 additions and 0 deletions

View File

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

View File

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