mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/stringio/stringio.c: needs fcntl.h for O_* constants.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
27e4aa4a93
commit
76fd9b85d9
1 changed files with 5 additions and 0 deletions
|
@ -14,6 +14,11 @@
|
|||
|
||||
#include "ruby.h"
|
||||
#include "rubyio.h"
|
||||
#if defined(HAVE_FCNTL_H) || defined(_WIN32)
|
||||
#include <fcntl.h>
|
||||
#elif defined(HAVE_SYS_FCNTL_H)
|
||||
#include <sys/fcntl.h>
|
||||
#endif
|
||||
|
||||
#define STRIO_EOF FMODE_SYNC
|
||||
|
||||
|
|
Loading…
Reference in a new issue