mirror of
https://github.com/espressif/openthread.git
synced 2026-07-30 15:47:46 +00:00
[posix-app] include <util.h> on darwin target for forkpty (#3030)
This commit is contained in:
committed by
Jonathan Hui
parent
4aefb910bc
commit
accf58d965
@@ -39,8 +39,12 @@
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#if OPENTHREAD_CONFIG_POSIX_APP_ENABLE_PTY_DEVICE
|
||||
#ifdef OPENTHREAD_TARGET_DARWIN
|
||||
#include <util.h>
|
||||
#else
|
||||
#include <pty.h>
|
||||
#endif
|
||||
#endif
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/resource.h>
|
||||
|
||||
Reference in New Issue
Block a user