[posix] NetBSD is also missing util.h (#4651)

This commit is contained in:
rob-the-dude
2020-03-09 09:15:37 -07:00
committed by GitHub
parent 56d0e7212b
commit dcfc0bca13
+1 -1
View File
@@ -39,7 +39,7 @@
#include <errno.h>
#include <fcntl.h>
#if OPENTHREAD_CONFIG_POSIX_APP_ENABLE_PTY_DEVICE
#ifdef __APPLE__
#if defined(__APPLE__) || defined(__NetBSD__)
#include <util.h>
#else
#include <pty.h>