From: Yui NARUSE Date: 2011-06-26T18:31:13+09:00 Subject: [ruby-core:37467] [Ruby 1.9 - Bug #4490][Assigned] struct timespec declared without defining HAVE_STRUCT_TIMESPEC, clashes with pthreads. Issue #4490 has been updated by Yui NARUSE. Status changed from Open to Assigned Assignee set to Nobuyoshi Nakada ---------------------------------------- Bug #4490: struct timespec declared without defining HAVE_STRUCT_TIMESPEC, clashes with pthreads. http://redmine.ruby-lang.org/issues/4490 Author: Levon Saldamli Status: Assigned Priority: Normal Assignee: Nobuyoshi Nakada Category: Target version: ruby -v: ruby 1.9.2p136 (2010-12-25) [i386-mingw32] =begin pthreads wants to declare struct timespec again since HAVE_STRUCT_TIMESPEC is not defined. After adding the following to ./include/ruby-1.9.1/ruby/missing.h problem is solved. #if !defined(HAVE_STRUCT_TIMESPEC) + #define HAVE_STRUCT_TIMESPEC struct timespec { Perhaps the same should be done for struct timezone? =end -- http://redmine.ruby-lang.org