aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-10 00:41:44 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-10 00:41:44 +0000
commit352303c906a30ba2abc174eb8eafa9a00cd335a2 (patch)
treee30f89ab304a170e019953ac9f1bb219f6300105
parent166ee9719f323f7337124eb6288181d128fd4806 (diff)
downloadruby-352303c906a30ba2abc174eb8eafa9a00cd335a2.tar.gz
* file.c: ISPRINT() needs ctype.h
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--file.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d993b0eead..ebfc2e9a54 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Sep 10 09:41:29 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * file.c: ISPRINT() needs ctype.h
+
Sun Sep 10 09:19:47 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/optparse.rb: splat parsed arguments.
diff --git a/file.c b/file.c
index 94de21b3b0..a8df504ae1 100644
--- a/file.c
+++ b/file.c
@@ -39,6 +39,8 @@ int flock(int, int);
# define MAXPATHLEN 1024
#endif
+#include <ctype.h>
+
#include <time.h>
VALUE rb_time_new(time_t, time_t);