diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-03 12:17:29 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-03 12:17:29 +0000 |
commit | 64e8148bee713ac155d7f2f4afbc6cbdf535a2aa (patch) | |
tree | ca8e24742624c951fd7da956d46e8f7e3d8e0e1a /file.c | |
parent | 6371dc7c86126d413e18cc8dc1055d4ddaf20839 (diff) |
merge revision(s) 22812:
* file.c: include fcntl.h for O_RDONLY on Solaris.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@23632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |