diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | file.c | 4 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Wed Jun 3 21:16:30 2009 Tanaka Akira <akr@fsij.org> + + * file.c: include fcntl.h for O_RDONLY on Solaris. + Wed Jun 3 21:09:56 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> * util.c (rv_strdup): macro to duplicate nul-terminated string. @@ -68,6 +68,10 @@ char *strrchr _((const char*,const char)); #include <sys/mkdev.h> #endif +#if defined(HAVE_FCNTL_H) +#include <fcntl.h> +#endif + #if !defined HAVE_LSTAT && !defined lstat #define lstat stat #endif @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2009-06-03" #define RUBY_VERSION_CODE 187 #define RUBY_RELEASE_CODE 20090603 -#define RUBY_PATCHLEVEL 170 +#define RUBY_PATCHLEVEL 171 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 |