diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/cmdedit.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/cmdedit.c b/shell/cmdedit.c index e4c88c265..22831b10c 100644 --- a/shell/cmdedit.c +++ b/shell/cmdedit.c @@ -70,6 +70,12 @@ static struct history *his_end = NULL; /* Last element in command line list */ /* Current termio and the previous termio before starting sh */ struct termios initial_settings, new_settings; + + +#ifndef _POSIX_VDISABLE +#define _POSIX_VDISABLE '\0' +#endif + #endif |