1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08:00

Fix build on FreeBSD (#49)

This commit is contained in:
Steve Wills 2018-12-01 12:13:49 -05:00 committed by Nicolas Viennot
parent 8519292881
commit e4037b703c
2 changed files with 6 additions and 0 deletions

View File

@ -2,6 +2,9 @@
#include <netinet/tcp.h> #include <netinet/tcp.h>
#include <fcntl.h> #include <fcntl.h>
#include <errno.h> #include <errno.h>
#ifndef IPPROTO_TCP
#include <netinet/in.h>
#endif
#include "tmate.h" #include "tmate.h"
#include "tmate-protocol.h" #include "tmate-protocol.h"

View File

@ -8,6 +8,9 @@
#include <stdio.h> #include <stdio.h>
#include <event.h> #include <event.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#ifndef IPPROTO_TCP
#include <netinet/in.h>
#endif
#include "tmate.h" #include "tmate.h"