Repository : ssh://[email protected]/haskeline On branch : ghc-head Link : http://git.haskell.org/?p=packages/haskeline.git;a=commit;h=5b600ef93db9b475afa2ef9edb242b6e3a915b50
>--------------------------------------------------------------- commit 5b600ef93db9b475afa2ef9edb242b6e3a915b50 Author: Judah Jacobson <[email protected]> Date: Tue Jan 29 14:39:42 2013 +0000 Include termios.h on Android because winsize is defined in it. Patch from Nathan Hüsken. >--------------------------------------------------------------- 5b600ef93db9b475afa2ef9edb242b6e3a915b50 System/Console/Haskeline/Backend/Posix.hsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Console/Haskeline/Backend/Posix.hsc b/System/Console/Haskeline/Backend/Posix.hsc index db9c66e..5da38e7 100644 --- a/System/Console/Haskeline/Backend/Posix.hsc +++ b/System/Console/Haskeline/Backend/Posix.hsc @@ -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> _______________________________________________ ghc-commits mailing list [email protected] http://www.haskell.org/mailman/listinfo/ghc-commits
