From 961a173573eadf9d4ad2dc631ee154fa506ce4f7 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Mon, 26 Jun 2006 15:15:40 +0000 Subject: [PATCH] Fix to let elle understand window size. --- commands/elle/eesite.c | 3 +++ commands/elle/sbproto.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/commands/elle/eesite.c b/commands/elle/eesite.c index 660c4b2c4..da3ba985a 100755 --- a/commands/elle/eesite.c +++ b/commands/elle/eesite.c @@ -8,6 +8,8 @@ * routine is TS_INP for detection of TTY input. */ +#define _MINIX 1 + #include "elle.h" #if !(V6) @@ -21,6 +23,7 @@ int tsf_pause = 0; /* Set if ts_pause works. Ref'd by equit in e_main */ #if !(SYSV || BBN) /* SYSV and BBN have weird tty calls */ #if MINIX +#include #include struct termios origterm, newterm; #else diff --git a/commands/elle/sbproto.h b/commands/elle/sbproto.h index 911a9e033..007bbbfad 100755 --- a/commands/elle/sbproto.h +++ b/commands/elle/sbproto.h @@ -3,7 +3,9 @@ #endif /* sbbcpy.c */ +#ifndef _MINIX _PROTOTYPE( int bcopy, (SBMA from, SBMA to, unsigned cnt) ); +#endif _PROTOTYPE( int sbm_wcpy, (int *from, int *to, unsigned cnt) ); /* sberr.c */ -- 2.44.0