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:
Joachim Nilsson
2008-06-09 00:17:48 +02:00
parent 4f88d8d823
commit 06a7f578d5
14 changed files with 44 additions and 24 deletions

View File

@@ -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();