ruby-changes:38160
From: akr <ko1@a...>
Date: Sun, 12 Apr 2015 09:01:20 +0900 (JST)
Subject: [ruby-changes:38160] akr:r50241 (trunk): * ext/-test-/file/fs.c: OpenBSD needs sys/param.h before sys/mount.h.
akr 2015-04-12 09:01:11 +0900 (Sun, 12 Apr 2015) New Revision: 50241 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50241 Log: * ext/-test-/file/fs.c: OpenBSD needs sys/param.h before sys/mount.h. Modified files: trunk/ChangeLog trunk/ext/-test-/file/fs.c Index: ChangeLog =================================================================== --- ChangeLog (revision 50240) +++ ChangeLog (revision 50241) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun Apr 12 08:56:44 2015 Tanaka Akira <akr@f...> + + * ext/-test-/file/fs.c: OpenBSD needs sys/param.h before sys/mount.h. + Sun Apr 12 08:52:01 2015 Tanaka Akira <akr@f...> * test/ruby/test_file_exhaustive.rb: Test suid, sgid and sticky file. Index: ext/-test-/file/fs.c =================================================================== --- ext/-test-/file/fs.c (revision 50240) +++ ext/-test-/file/fs.c (revision 50241) @@ -1,6 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ext/-test-/file/fs.c#L1 #include "ruby/ruby.h" #include "ruby/io.h" +#ifdef HAVE_SYS_PARAM_H +#include <sys/param.h> +#endif #ifdef HAVE_SYS_MOUNT_H #include <sys/mount.h> #endif -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/