зеркало из https://github.com/mozilla/pjs.git
Bug 330237 - editline.c:1038: warning: implicit declaration of function getpid. r=mrbkap
This commit is contained in:
Родитель
6ffb6564bb
Коммит
03561eeae5
|
@ -64,6 +64,7 @@
|
||||||
#include "editline.h"
|
#include "editline.h"
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Manifest constants.
|
** Manifest constants.
|
||||||
|
@ -154,12 +155,10 @@ int rl_meta_chars = 0;
|
||||||
** Declarations.
|
** Declarations.
|
||||||
*/
|
*/
|
||||||
STATIC CHAR *editinput();
|
STATIC CHAR *editinput();
|
||||||
extern int read();
|
|
||||||
extern int write();
|
|
||||||
#if defined(USE_TERMCAP)
|
#if defined(USE_TERMCAP)
|
||||||
extern char *getenv();
|
#include <stdlib.h>
|
||||||
extern char *tgetstr();
|
#include <curses.h>
|
||||||
extern int tgetent();
|
#include <term.h>
|
||||||
#endif /* defined(USE_TERMCAP) */
|
#endif /* defined(USE_TERMCAP) */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Загрузка…
Ссылка в новой задаче