diff options
Diffstat (limited to 'shell')
| -rw-r--r-- | shell/ash_mingw.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/ash_mingw.c b/shell/ash_mingw.c index a5295532d..a39919439 100644 --- a/shell/ash_mingw.c +++ b/shell/ash_mingw.c | |||
| @@ -1,3 +1,5 @@ | |||
| 1 | #include "git.h" | ||
| 2 | |||
| 1 | extern void trace_printf(const char *format, ...); | 3 | extern void trace_printf(const char *format, ...); |
| 2 | extern void trace_argv_printf(const char **argv, const char *format, ...); | 4 | extern void trace_argv_printf(const char **argv, const char *format, ...); |
| 3 | 5 | ||
| @@ -18,7 +20,7 @@ static union node *node_recv(int fd); | |||
| 18 | static inline void | 20 | static inline void |
| 19 | ser_read(int fd, void *buf, size_t len) | 21 | ser_read(int fd, void *buf, size_t len) |
| 20 | { | 22 | { |
| 21 | if (xread(fd, buf, len) != len) | 23 | if (_xread(fd, buf, len) != len) |
| 22 | die("Corrupted"); | 24 | die("Corrupted"); |
| 23 | } | 25 | } |
| 24 | 26 | ||
