mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-22 16:25:45 +08:00
<pty.h>: linux only
not only Apple but also other OSes except Linux uses <util.h>. for details, see https://www.gnu.org/software/gnulib/manual/html_node/pty_002eh.html
This commit is contained in:
@@ -32,10 +32,10 @@
|
|||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <termios.h>
|
#include <termios.h>
|
||||||
#if defined(__APPLE__)
|
#if defined(__linux__)
|
||||||
#include <util.h>
|
|
||||||
#else
|
|
||||||
#include <pty.h>
|
#include <pty.h>
|
||||||
|
#else
|
||||||
|
#include <util.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user