From: Neel Chauhan Date: Fri, 14 Oct 2016 00:21:56 +0000 (-0400) Subject: Fix pty.h compile error on FreeBSD (FreeBSD uses libutil.h instead of util.h or pty.h) X-Git-Url: http://git.prime8.dev/?a=commitdiff_plain;h=bccf6a435db88e0b17e386b928cb0cbc9a514cbf;p=ttyd.git Fix pty.h compile error on FreeBSD (FreeBSD uses libutil.h instead of util.h or pty.h) --- diff --git a/src/server.h b/src/server.h index 2cd52f6..b61077c 100644 --- a/src/server.h +++ b/src/server.h @@ -23,6 +23,8 @@ #ifdef __APPLE__ #include +#elif defined(__FreeBSD__) +#include #else #include #endif