* file.c: include fcntl.h for O_RDONLY on Solaris.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3f0060c042
commit
27475f4dec
@ -1,3 +1,7 @@
|
|||||||
|
Mon Mar 2 21:01:36 2009 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* file.c: include fcntl.h for O_RDONLY on Solaris.
|
||||||
|
|
||||||
Mon Mar 2 19:43:02 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Mon Mar 2 19:43:02 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* lib/uri/common.rb (URI::Parser#escape): escaped string is ascii
|
* lib/uri/common.rb (URI::Parser#escape): escaped string is ascii
|
||||||
|
4
file.c
4
file.c
@ -62,6 +62,10 @@ int flock(int, int);
|
|||||||
#include <sys/mkdev.h>
|
#include <sys/mkdev.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(HAVE_FCNTL_H)
|
||||||
|
#include <fcntl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined HAVE_LSTAT && !defined lstat
|
#if !defined HAVE_LSTAT && !defined lstat
|
||||||
#define lstat stat
|
#define lstat stat
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user