From e4037b703c16cd34677dc4c90ce611b60a854393 Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Sat, 1 Dec 2018 12:13:49 -0500 Subject: [PATCH] Fix build on FreeBSD (#49) --- tmate-proxy.c | 3 +++ tmate-ssh-server.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/tmate-proxy.c b/tmate-proxy.c index c3e45768..89d06bea 100644 --- a/tmate-proxy.c +++ b/tmate-proxy.c @@ -2,6 +2,9 @@ #include #include #include +#ifndef IPPROTO_TCP +#include +#endif #include "tmate.h" #include "tmate-protocol.h" diff --git a/tmate-ssh-server.c b/tmate-ssh-server.c index 215b377d..b81186ed 100644 --- a/tmate-ssh-server.c +++ b/tmate-ssh-server.c @@ -8,6 +8,9 @@ #include #include #include +#ifndef IPPROTO_TCP +#include +#endif #include "tmate.h"