aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/qemu-openpty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/qemu-openpty.c b/util/qemu-openpty.c
index 4febfe9d72..4c5321116b 100644
--- a/util/qemu-openpty.c
+++ b/util/qemu-openpty.c
@@ -47,6 +47,8 @@
#elif defined CONFIG_SOLARIS
# include <termios.h>
# include <stropts.h>
+#else
+# include <termios.h>
#endif
#ifdef __sun__