summaryrefslogtreecommitdiff
path: root/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 /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 'cmdedit.c')
-rw-r--r--cmdedit.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmdedit.c b/cmdedit.c
index e4c88c2..22831b1 100644
--- a/cmdedit.c
+++ b/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