aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);