mirror of
https://github.com/espressif/openthread.git
synced 2026-08-04 18:07:47 +00:00
[posix] allow compilation on FreeBSD (#4978)
This commit is contained in:
@@ -41,6 +41,8 @@
|
||||
#if OPENTHREAD_POSIX_CONFIG_RCP_PTY_ENABLE
|
||||
#if defined(__APPLE__) || defined(__NetBSD__)
|
||||
#include <util.h>
|
||||
#elif defined(__FreeBSD__)
|
||||
#include <libutil.h>
|
||||
#else
|
||||
#include <pty.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user