readline:
[deliverable/binutils-gdb.git] / readline / examples / rlversion.c
index 2d73a96c386f909e64b0c5cd2b256aa8a161527f..652d37ccb88446daed24c1e6f74699a11957a2e3 100644 (file)
@@ -2,8 +2,6 @@
  * rlversion -- print out readline's version number
  */
 
-#define READLINE_LIBRARY
-
 #if defined (HAVE_CONFIG_H)
 #  include <config.h>
 #endif
 #include <sys/types.h>
 #include "posixstat.h"
 
-#include "readline.h"
+#ifdef READLINE_LIBRARY
+#  include "readline.h"
+#else
+#  include <readline/readline.h>
+#endif
 
 main()
 {
This page took 0.023364 seconds and 4 git commands to generate.