datamapper / do

DataObjects
147 stars 73 forks source link

[do_postgress] Get ext to build on Ruby 2.0.0 (stock OS X). #82

Closed alloy closed 9 years ago

alloy commented 9 years ago

For some reason the c.h PG header is not being included when building on older Rubies. Explicitely adding the base postgres.h header which includes the c.h header fixes it.

Here are the build logs before and after https://gist.github.com/alloy/23a6b235d35a346f4415

alloy commented 9 years ago

FYI This is the header in question https://github.com/postgres/postgres/blob/master/src/include/c.h

floere commented 9 years ago

This is a lovely PR!

neonichu commented 9 years ago

:+1: