1 #include <stdio.h> 2 # ifdef READLINE_LIBRARY 3 # include <readline.h> 4 # else 5 # include <readline/readline.h> 6 # endif 7 8 #ifndef HAS_RL_LIBRARY_VERSION 9 extern char *rl_library_version; /* Might be mismatched header, try anyway! */ 10 #endif 11 main()12main(){ printf("%s", rl_library_version); } 13