mirror of
https://github.com/tsl0922/ttyd.git
synced 2026-01-11 05:14:21 +01:00
Fix pty.h compile error on FreeBSD (FreeBSD uses libutil.h instead of util.h or pty.h)
This commit is contained in:
committed by
Shuanglei Tao
parent
735f9c2583
commit
bccf6a435d
@@ -23,6 +23,8 @@
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <util.h>
|
||||
#elif defined(__FreeBSD__)
|
||||
#include <libutil.h>
|
||||
#else
|
||||
#include <pty.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user