Teach libc5 what a sighandler_t is

-Erik
This commit is contained in:
Eric Andersen 2001-08-02 09:52:40 +00:00
parent deba6dea03
commit 95b520110d
2 changed files with 8 additions and 0 deletions

View File

@ -164,6 +164,10 @@ static int my_gid;
#endif /* BB_FEATURE_COMMAND_TAB_COMPLETION */
/* It seems that libc5 doesn't know what a sighandler_t is... */
#if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1)
typedef void (*sighandler_t) (int);
#endif
static void cmdedit_setwidth(int w, int redraw_flg);

View File

@ -164,6 +164,10 @@ static int my_gid;
#endif /* BB_FEATURE_COMMAND_TAB_COMPLETION */
/* It seems that libc5 doesn't know what a sighandler_t is... */
#if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1)
typedef void (*sighandler_t) (int);
#endif
static void cmdedit_setwidth(int w, int redraw_flg);