On Fri, May 10, 2013 at 10:44:36PM +0200, Michele La Monaca wrote:
> This patch fixes (terminal-size)  on solaris. "struct winsize" is
> defined in termios.h which must be included.

Looks good to me.  Attached is a signed-off copy.

Cheers,
Peter
-- 
http://www.more-magic.net
>From 68061f0ab16cc9e9f9186070d89ffcb2540a5237 Mon Sep 17 00:00:00 2001
From: Michele La Monaca <[email protected]>
Date: Fri, 10 May 2013 22:28:09 +0200
Subject: [PATCH] fix (terminal-size) on solaris

Signed-off-by: Peter Bex <[email protected]>
---
 posixunix.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/posixunix.scm b/posixunix.scm
index 02f0a5e..a1011c4 100644
--- a/posixunix.scm
+++ b/posixunix.scm
@@ -60,6 +60,7 @@ static C_TLS int C_wait_status;
 
 #if defined(__sun__) && defined(__svr4__)
 # include <sys/tty.h>
+# include <termios.h>
 #endif
 
 #ifdef HAVE_GRP_H
-- 
1.8.0.1

_______________________________________________
Chicken-hackers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to