summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/file/posixptty.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/modules/file/posixptty.cpp')
-rw-r--r--src/osd/modules/file/posixptty.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/osd/modules/file/posixptty.cpp b/src/osd/modules/file/posixptty.cpp
index 3eab9e45d0c..51c655a5d1e 100644
--- a/src/osd/modules/file/posixptty.cpp
+++ b/src/osd/modules/file/posixptty.cpp
@@ -22,9 +22,11 @@
#if defined(__FreeBSD_kernel__) || defined(__DragonFly__)
#include <termios.h>
#include <libutil.h>
-#elif defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__) || defined(__ANDROID__)
+#elif defined(__NetBSD__) || defined(__OpenBSD__)
#include <termios.h>
#include <util.h>
+#elif defined(__APPLE__)
+#include <termios.h>
#elif defined(__linux__) || defined(EMSCRIPTEN)
#include <pty.h>
#elif defined(__HAIKU__)