From 730b94f4f70b4b6f2f9c4aec5bcb321637588e2f Mon Sep 17 00:00:00 2001 From: rob-the-dude <43481893+rob-the-dude@users.noreply.github.com> Date: Mon, 18 May 2020 16:34:02 -0700 Subject: [PATCH] [posix] allow compilation on FreeBSD (#4978) --- src/posix/platform/hdlc_interface.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/posix/platform/hdlc_interface.cpp b/src/posix/platform/hdlc_interface.cpp index 7aaa204af..1f5281c1b 100644 --- a/src/posix/platform/hdlc_interface.cpp +++ b/src/posix/platform/hdlc_interface.cpp @@ -41,6 +41,8 @@ #if OPENTHREAD_POSIX_CONFIG_RCP_PTY_ENABLE #if defined(__APPLE__) || defined(__NetBSD__) #include +#elif defined(__FreeBSD__) +#include #else #include #endif