mirror of
https://github.com/norohind/hans.git
synced 2025-05-30 07:09:24 +03:00
now compiles on openbsd
This commit is contained in:
parent
25d3e03e49
commit
40b291d735
2
echo.cpp
2
echo.cpp
@ -21,9 +21,11 @@
|
||||
#include "exception.h"
|
||||
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in_systm.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/ip.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <unistd.h>
|
||||
|
||||
typedef ip IpHeader;
|
||||
|
||||
|
2
tun.cpp
2
tun.cpp
@ -22,6 +22,8 @@
|
||||
#include "utility.h"
|
||||
|
||||
#include <arpa/inet.h>
|
||||
#include <netinet/in_systm.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/ip.h>
|
||||
#include <syslog.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -24,6 +24,7 @@
|
||||
|
||||
#include <string.h>
|
||||
#include <syslog.h>
|
||||
#include <unistd.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user