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 */