Permalink
Browse files

Add missing headers to detect-readline.c

Addresss issue #21.
  • Loading branch information...
Andy Chu
Andy Chu committed Jul 31, 2017
1 parent 9d7af35 commit 8c1a6f1919653f1f822967b10fbf77dcde46b0e6
Showing with 4 additions and 0 deletions.
  1. +4 −0 build/detect-readline.c
View
@@ -1,4 +1,8 @@
/* 'info readline' shows an example with these three headers */
#include <stdio.h> /* readline needs this, issue #21 */
#include <readline/readline.h>
#include <readline/history.h>
int main(void) {
char *line = readline("");

0 comments on commit 8c1a6f1

Please sign in to comment.