diff options
| author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-04 09:21:20 +0000 |
|---|---|---|
| committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-04 09:21:20 +0000 |
| commit | 9fba8a4167394a21fd999eebde796a496386a495 (patch) | |
| tree | 6a33ef35c5ba65493c7408405c96064b5cd3a28f /file.c | |
| parent | 5f51cb9fc12a9d871f84cc3492dfd5f6e57f04c2 (diff) | |
merges r22707 from trunk into ruby_1_9_1.
--
* file.c: include fcntl.h for O_RDONLY on Solaris.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
| -rw-r--r-- | file.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -62,6 +62,10 @@ int flock(int, int); #include <sys/mkdev.h> #endif +#if defined(HAVE_FCNTL_H) +#include <fcntl.h> +#endif + #if !defined HAVE_LSTAT && !defined lstat #define lstat stat #endif |
