tanoku/redcarpet — Issue #109: gem install fails on windows
Author: sunaku
Created: 2012-02-06 22:17:05+00:00
State: open

I tried this with Ruby 1.9.3-p0.exe and DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe from [RubyInstaller](http://rubyinstaller.org/downloads).

```
C:\>gem install redcarpet
Building native extensions. This could take a while...
ERROR: Error installing redcarpet:
ERROR: Failed to build gem native extension.

C:/Ruby193/bin/ruby.exe extconf.rb
creating Makefile

make
generating redcarpet-i386-mingw32.def
compiling autolink.c
compiling buffer.c
compiling houdini_href_e.c
compiling houdini_html_e.c
compiling html.c
compiling html_smartypants.c
compiling markdown.c
compiling rc_markdown.c
In file included from c:/Ruby193/include/ruby-1.9.1/ruby/ruby.h:1360,
from c:/Ruby193/include/ruby-1.9.1/ruby.h:32,
from redcarpet.h:5,
from rc_markdown.c:16:
c:/Ruby193/include/ruby-1.9.1/ruby/missing.h:41: error: redefinition of 'struct timespec'
c:/Ruby193/include/ruby-1.9.1/ruby/missing.h:48: error: redefinition of 'struct timezone'
make: *** [rc_markdown.o] Error 1

Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/redcarpet-2.1.0 for inspection.
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/redcarpet-2.1.0/ext/redcarpet/gem_make.out
```

BTW there's nothing extra in the `gem_make.out` file; its contents are already reproduced above.