commit | 95b520110dc1ee6ee670817fdd6312a8565cf34c | [log] [tgz] |
---|---|---|
author | Eric Andersen <andersen@codepoet.org> | Thu Aug 02 09:52:40 2001 +0000 |
committer | Eric Andersen <andersen@codepoet.org> | Thu Aug 02 09:52:40 2001 +0000 |
tree | 762e3eb43a849bb8ac37537c8943fe2f8148fb4f | |
parent | deba6dea0340465af76624f9ef3a0bbe28130d8a [diff] [blame] |
Teach libc5 what a sighandler_t is -Erik
diff --git a/cmdedit.c b/cmdedit.c index 6386ea0..16ec2f8 100644 --- a/cmdedit.c +++ b/cmdedit.c
@@ -164,6 +164,10 @@ #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);