1
0
Fork 0
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:
nobu 2004-11-18 02:27:00 +00:00
parent 27e4aa4a93
commit 76fd9b85d9

View file

@ -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