diff options
Diffstat (limited to 'system.c')
| -rw-r--r-- | system.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -12,3 +12,9 @@ extern void writeall(int fd, char *buf, size_t remain) { extern int rc_read(int fd, char *buf, size_t n) { return read(fd, buf, n); } + +#if READLINE +extern char *rc_readline(char *prompt) { + return readline(prompt); +} +#endif |