summaryrefslogtreecommitdiff
path: root/shell/cmdedit.c
diff options
context:
space:
mode:
authorErik Andersen2000-05-20 00:40:08 +0000
committerErik Andersen2000-05-20 00:40:08 +0000
commit8ea7d8cdaf4a03cdc06abc8b752b589271140a88 (patch)
tree955fc9545f490ca39f0c24629316b7d328612802 /shell/cmdedit.c
parent330fd2b5767110f29544131d4c72c77e0506b6df (diff)
downloadbusybox-8ea7d8cdaf4a03cdc06abc8b752b589271140a88.zip
busybox-8ea7d8cdaf4a03cdc06abc8b752b589271140a88.tar.gz
First pass at fixing tar segfault, and more portability updates.
-Erik
Diffstat (limited to 'shell/cmdedit.c')
-rw-r--r--shell/cmdedit.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/cmdedit.c b/shell/cmdedit.c
index e4c88c2..22831b1 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