aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbb/lineedit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c
index dc90846f9..d8793ae44 100644
--- a/libbb/lineedit.c
+++ b/libbb/lineedit.c
@@ -103,6 +103,10 @@ enum {
103static const char null_str[] ALIGN1 = ""; 103static const char null_str[] ALIGN1 = "";
104#endif 104#endif
105 105
106#if ENABLE_PLATFORM_MINGW32
107#define safe_read(fd,buf,size) wincon_read(fd,buf,size)
108#endif
109
106/* We try to minimize both static and stack usage. */ 110/* We try to minimize both static and stack usage. */
107struct lineedit_statics { 111struct lineedit_statics {
108 line_input_t *state; 112 line_input_t *state;