Commit 5b600ef9 authored by judah's avatar judah
Browse files

Include termios.h on Android because winsize is defined in it.

Patch from Nathan Hüsken.
parent 8252f064
......@@ -48,7 +48,7 @@ import GHC.IOBase(haFD,FD)
import GHC.Handle (withHandle_)
#endif
#ifdef USE_TERMIOS_H
#if defined(USE_TERMIOS_H) || defined(__ANDROID__)
#include <termios.h>
#endif
#include <sys/ioctl.h>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment