diff options
Diffstat (limited to 'missing/flock.c')
-rw-r--r-- | missing/flock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/missing/flock.c b/missing/flock.c index 763c49d675..435d66aefb 100644 --- a/missing/flock.c +++ b/missing/flock.c @@ -1,7 +1,8 @@ #include "ruby/config.h" +#include "ruby/ruby.h" #if defined _WIN32 -#elif defined HAVE_FCNTL && defined HAVE_FCNTL_H +#elif defined HAVE_FCNTL && defined HAVE_FCNTL_H && !defined(__native_client__) /* These are the flock() constants. Since this sytems doesn't have flock(), the values of the constants are probably not available. |