From 03561eeae5be797dea3af083f3de48de5c2e13e4 Mon Sep 17 00:00:00 2001 From: timeless Date: Mon, 8 Sep 2008 13:27:57 +0200 Subject: [PATCH] Bug 330237 - editline.c:1038: warning: implicit declaration of function getpid. r=mrbkap --- js/src/editline/editline.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/js/src/editline/editline.c b/js/src/editline/editline.c index 0f0210b39a1..8ca93b33e62 100644 --- a/js/src/editline/editline.c +++ b/js/src/editline/editline.c @@ -64,6 +64,7 @@ #include "editline.h" #include #include +#include /* ** Manifest constants. @@ -154,12 +155,10 @@ int rl_meta_chars = 0; ** 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) */ /*