Skip to content
Snippets Groups Projects
Commit 3392bd1c authored by rswindell's avatar rswindell
Browse files

Changed kbhit() to use 0 instead of fileno(stdin) - stdio.h not included.

parent ef58f9b9
No related branches found
No related tags found
No related merge requests found
......@@ -230,7 +230,7 @@ void _termios_setup(void)
int kbhit(void)
{
if(!isatty(fileno(stdin)))
if(!isatty(0))
return(0);
// set up select() args
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment