aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sysdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/sysdep.c')
-rw-r--r--gcc/ada/sysdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/ada/sysdep.c b/gcc/ada/sysdep.c
index 0b9d2c3..836f3d5 100644
--- a/gcc/ada/sysdep.c
+++ b/gcc/ada/sysdep.c
@@ -298,6 +298,8 @@ __gnat_ttyname (filedes)
#ifdef __MINGW32__
#if OLD_MINGW
#include <termios.h>
+#else
+#include <conio.h> /* for getch(), kbhit() */
#endif
#else
#include <termios.h>