diff options
author | wyhaines <wyhaines@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-10 15:38:48 +0000 |
---|---|---|
committer | wyhaines <wyhaines@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-10 15:38:48 +0000 |
commit | 665787ea4e0cef0157d6f4a6bca65973ce8839be (patch) | |
tree | ddfc5f39de95a292040b394698a8292e4eda53f6 | |
parent | 69c8bf73294c1b99389b8e81f7003a88c67ff4cc (diff) |
Added FCNTL inclusion to fix a compile error with solaris (backport from r22812)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | file.c | 4 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 10 insertions, 2 deletions
@@ -1,4 +1,8 @@ -Thu Jul 9 11:22:00 2009 Kirk Haines <khaines@ruby-lang.org> +Fri Jul 10 04:00:00 2009 Kirk Haines <khaines@ruby-lang.org> + + * file.c: Added FCNTL inclusion to fix a compile error with solaris (backport from r22812) + +Thu Jul 9 11:22:00 2009 Kirk Haines <khaines@ruby-lang.org> * gc.c: Add a check for DATA_PTR(obj) to run_final as a stopgap fix for debilitating segfaults. @@ -71,6 +71,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-08" #define RUBY_VERSION_CODE 186 #define RUBY_RELEASE_CODE 20090608 -#define RUBY_PATCHLEVEL 376 +#define RUBY_PATCHLEVEL 377 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 |