mirror of
https://github.com/holub/mame
synced 2025-04-21 16:01:56 +03:00
Fix OS X build after a45221458d
(nw)
posixptty.cpp uses openpty, which remains in <util.h> under OS X.
This commit is contained in:
parent
a45221458d
commit
9f4fc823d4
@ -22,11 +22,9 @@
|
||||
#if defined(__FreeBSD_kernel__) || defined(__DragonFly__)
|
||||
#include <termios.h>
|
||||
#include <libutil.h>
|
||||
#elif defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
#elif defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__)
|
||||
#include <termios.h>
|
||||
#include <util.h>
|
||||
#elif defined(__APPLE__)
|
||||
#include <termios.h>
|
||||
#elif defined(__linux__) || defined(EMSCRIPTEN)
|
||||
#include <pty.h>
|
||||
#elif defined(__HAIKU__)
|
||||
|
Loading…
Reference in New Issue
Block a user