Index: editline.c =================================================================== RCS file: /cvsroot/mozilla/js/src/editline/editline.c,v retrieving revision 1.8 diff -u -r1.8 editline.c --- editline.c 29 Jun 2006 12:51:42 -0000 1.8 +++ editline.c 2 Jul 2006 10:34:58 -0000 @@ -64,6 +64,7 @@ #include "editline.h" #include #include +#include /* ** Manifest constants. @@ -154,12 +155,10 @@ ** Declarations. */ STATIC CHAR *editinput(); -extern int read(); -extern int write(); #if defined(USE_TERMCAP) -extern char *getenv(); -extern char *tgetstr(); -extern int tgetent(); +#include +#include +#include #endif /* defined(USE_TERMCAP) */ /*