From dbef5ecd7aa11e623a2ed9f99ffa77616b5ae1d1 Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 19 Aug 2013 12:39:09 +0000 Subject: * include/ruby/defines.h: Fix a compilation error with i586-mingw32msvc-gcc of gcc-mingw32 package on Debian squeeze. ruby/missing.h should be included before include/ruby/win32.h because struct timespec, used in the clock_gettime declaration in include/ruby/win32.h, is defined in ruby/missing.h instead of system headers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/defines.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/ruby/defines.h') diff --git a/include/ruby/defines.h b/include/ruby/defines.h index cb3e21002a..3327e69123 100644 --- a/include/ruby/defines.h +++ b/include/ruby/defines.h @@ -65,6 +65,8 @@ extern "C" { #include #endif +#include "ruby/missing.h" + #define RUBY #ifdef __cplusplus -- cgit v1.2.3