mirror of
https://github.com/ruby/ruby.git
synced 2025-09-17 01:23:57 +02:00
merges r22707 from trunk into ruby_1_9_1.
-- * file.c: include fcntl.h for O_RDONLY on Solaris. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7a28371f58
commit
12d0248c7d
2 changed files with 8 additions and 0 deletions
4
file.c
4
file.c
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue