summaryrefslogtreecommitdiffstats
path: root/ext/readline
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-26 15:03:16 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-26 15:03:16 +0000
commit568e5b7d3d1ea08b27e8b6d27c232bb02013d980 (patch)
treef43bcbbbea28f0be235adcb8fbfd15e280c30a06 /ext/readline
parent858f51db206618ab81f596a66531b1e40903de63 (diff)
downloadruby-568e5b7d3d1ea08b27e8b6d27c232bb02013d980.tar.gz
ruby-568e5b7d3d1ea08b27e8b6d27c232bb02013d980.tar.xz
ruby-568e5b7d3d1ea08b27e8b6d27c232bb02013d980.zip
* ext/tk/lib/tk.rb (TkCore::chooseDirectory): back up wrongly
removed method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/readline')
-rw-r--r--ext/readline/readline.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/readline/readline.c b/ext/readline/readline.c
index b72da75e7..cac0b1d11 100644
--- a/ext/readline/readline.c
+++ b/ext/readline/readline.c
@@ -3,15 +3,16 @@
#include <errno.h>
#include <stdio.h>
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
#include <readline/readline.h>
#include <readline/history.h>
#include "ruby.h"
#include "rubysig.h"
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
static VALUE mReadline;
#define TOLOWER(c) (isupper(c) ? tolower(c) : c)