mirror of
https://github.com/troglobit/editline.git
synced 2025-09-18 02:08:08 +08:00
Minix editline v0.1.3
===================== Fix another build warning for Arm cross-gcc, which actually was v4.1.2 This time getpid() was missing unistd.h, but kill() was also missing signal.h. Added test for signal.h, but left out unistd.h since we already define SYS_UNIX -- which we should really check for instead... The rest are cosmetic prototype or automake/autoconf fixes.
This commit is contained in:
@@ -16,6 +16,9 @@
|
||||
#ifdef HAVE_DIRENT_H
|
||||
#include <dirent.h>
|
||||
#endif
|
||||
#ifdef HAVE_SIGNAL_H
|
||||
#include <signal.h>
|
||||
#endif
|
||||
#ifdef SYS_UNIX
|
||||
#include "unix.h"
|
||||
#endif /* defined(SYS_UNIX) */
|
||||
@@ -65,7 +68,7 @@ extern int rl_intr;
|
||||
extern int rl_kill;
|
||||
extern int rl_quit;
|
||||
extern char *rl_complete();
|
||||
extern int rl_list_possib();
|
||||
extern int rl_list_possib(char *pathname, char ***avp);
|
||||
extern void rl_ttyset();
|
||||
extern void rl_add_slash();
|
||||
|
||||
|
Reference in New Issue
Block a user