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 /file.c | |
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
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |