aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmdedit.c4
-rw-r--r--shell/cmdedit.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/cmdedit.c b/cmdedit.c
index 6386ea042..16ec2f823 100644
--- a/cmdedit.c
+++ b/cmdedit.c
@@ -164,6 +164,10 @@ static int my_gid;
164 164
165#endif /* BB_FEATURE_COMMAND_TAB_COMPLETION */ 165#endif /* BB_FEATURE_COMMAND_TAB_COMPLETION */
166 166
167/* It seems that libc5 doesn't know what a sighandler_t is... */
168#if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1)
169typedef void (*sighandler_t) (int);
170#endif
167 171
168static void cmdedit_setwidth(int w, int redraw_flg); 172static void cmdedit_setwidth(int w, int redraw_flg);
169 173
diff --git a/shell/cmdedit.c b/shell/cmdedit.c
index 6386ea042..16ec2f823 100644
--- a/shell/cmdedit.c
+++ b/shell/cmdedit.c
@@ -164,6 +164,10 @@ static int my_gid;
164 164
165#endif /* BB_FEATURE_COMMAND_TAB_COMPLETION */ 165#endif /* BB_FEATURE_COMMAND_TAB_COMPLETION */
166 166
167/* It seems that libc5 doesn't know what a sighandler_t is... */
168#if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1)
169typedef void (*sighandler_t) (int);
170#endif
167 171
168static void cmdedit_setwidth(int w, int redraw_flg); 172static void cmdedit_setwidth(int w, int redraw_flg);
169 173