From: Ben Gras Date: Mon, 26 Jun 2006 15:15:40 +0000 (+0000) Subject: Fix to let elle understand window size. X-Git-Tag: v3.1.3~286 X-Git-Url: http://zhaoyanbai.com/repos/man.dnssec-coverage.html?a=commitdiff_plain;h=961a173573eadf9d4ad2dc631ee154fa506ce4f7;p=minix.git Fix to let elle understand window size. --- 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 */