Issue #1437 has been updated by Matthias Marschall. Tried to compile it now with gcc 3.4.3 - same issue: gcc -g -O2 -DRUBY_EXPORT -I. -I. -c file.c file.c: In function 'file_load_ok': file.c:4369: error: 'O_RDONLY' undeclared (first use in this function) ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1437 ---------------------------------------- http://redmine.ruby-lang.org