import of readlilne 5.1
[deliverable/binutils-gdb.git] / readline / examples / rl.c
index d2604895e52fc0cb5467517ae9a27b95e08e362b..c608c15f3d67cdefe6f3e0aab2187902edf832d1 100644 (file)
 
 #include <stdio.h>
 #include <sys/types.h>
-#include "posixstat.h"
+
+#ifdef HAVE_STDLIB_H
+#  include <stdlib.h>
+#else 
+extern void exit();
+#endif
 
 #if defined (READLINE_LIBRARY)
+#  include "posixstat.h"
 #  include "readline.h"
 #  include "history.h"
 #else
+#  include <sys/stat.h>
 #  include <readline/readline.h>
 #  include <readline/history.h>
 #endif
This page took 0.025126 seconds and 4 git commands to generate.